Ticket #15898 (closed defect: fixed)
cotvnc doesn't install if not root
|Reported by:||ryandesign@…||Owned by:||pguyot@…|
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.