#15742 closed defect (fixed)
SSHKeychain: can't install when not root
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | themiwi@… | |
Port: |
Description
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.
Attachments (1)
Change History (3)
Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | SSHKeychain.diff added |
---|
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
No response from maintainer in > 72 hours. Committed a revised version of the patch in r38120.