Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15898 closed defect (fixed)

cotvnc doesn't install if not root

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: pguyot (Paul Guyot)
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 (1)

cotvnc-nonroot.diff (751 bytes) - added by ryandesign (Ryan Carsten Schmidt) 16 years ago.

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: cotvnc-nonroot.diff added

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

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

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.