New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15898 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

cotvnc doesn't install if not root

Reported by: ryandesign@… Owned by: pguyot@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port:

Description

I have my MacPorts installed as a non-root user in the prefix /mp, and cotvnc doesn't like this:

$ port install cotvnc
--->  Fetching cotvnc
--->  Verifying checksum(s) for cotvnc
--->  Extracting cotvnc
--->  Configuring cotvnc
--->  Building cotvnc
--->  Staging cotvnc into destroot
--->  Installing cotvnc @2.0b4_0
Error: Target org.macports.install returned: can't create directory "/mp/var/macports/software/cotvnc/2.0b4_0/Applications/MacPorts/Chicken of the VNC.app/Contents": permission denied
Error: Status 1 encountered during processing.
$

Many other ports seem not to like this either. I've had to apply patches to CronniX, osxvnc, SSHKeychain...

It looks like r22902 was supposed to solve this maybe but it didn't completely. The patch I attach fixes it for me.

Attachments

cotvnc-nonroot.diff (751 bytes) - added by ryandesign@… 5 years ago.

Change History

Changed 5 years ago by ryandesign@…

comment:1 Changed 5 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

No response from maintainer, so I committed the patch in r38809.

comment:2 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.