[MacPorts] #15742: SSHKeychain: can't install when not root
#15742: SSHKeychain: can't install when not root -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | -------------------------------------+-------------------------------------- My MacPorts installation uses --with-install-user=rschmidt and --with- install-group=admin so that I don't have to be root to install most ports, but SSHKeychain 0.8.2 complains if I'm not root: {{{ $ port install sshkeychain ---> Fetching SSHKeychain ---> Verifying checksum(s) for SSHKeychain ---> Extracting SSHKeychain ---> Applying patches to SSHKeychain ---> Configuring SSHKeychain ---> Building SSHKeychain ---> Staging SSHKeychain into destroot ---> Installing SSHKeychain @0.8.2_0 Error: Target org.macports.install returned: can't create directory "/mp/var/macports/software/SSHKeychain/0.8.2_0/Applications/MacPorts/SSHKeychain.app/Contents": permission denied Error: Status 1 encountered during processing. $ }}} The attached patch fixes the permissions of the installed items so that installing without root becomes possible (copied from CronniX portfile). Note that if you try it out before applying the patch, and you encounter the error above, then you must manually delete ${prefix}/var/macports/software/SSHKeychain before trying again, else you'll still get the error, even with the patch. If you have no objection to the patch, I'll be happy to commit it. -- Ticket URL: <http://trac.macports.org/ticket/15742> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15742: SSHKeychain: can't install when not root --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: No response from maintainer in > 72 hours. Committed a revised version of the patch in r38120. -- Ticket URL: <http://trac.macports.org/ticket/15742#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts