[MacPorts] #15742: SSHKeychain: can't install when not root

MacPorts noreply at macports.org
Wed Jun 25 03:08:25 PDT 2008


#15742: SSHKeychain: can't install when not root
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  macports-tickets at 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


More information about the macports-tickets mailing list