[MacPorts] #20496: base - 1.8 - permissions are set to root during install phase despite destroot permissions

MacPorts noreply at macports.org
Fri Jul 31 09:40:49 PDT 2009


#20496: base - 1.8 - permissions are set to root during install phase despite
destroot permissions
------------------------------------+---------------------------------------
 Reporter:  jameskyle@…             |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.8.0                                
 Keywords:                          |        Port:                                       
------------------------------------+---------------------------------------
 This behavior only appears in 1.8, it works as expected in 1.7.1.
 It appears the install phase is changing file and directory ownership from
 that specified and assigned in the destroot.

 For example:

 {{{sudo port destroot backuppc
 ls -ld work/destroot/${destroot}${prefix}/var/backups
 drwxrwx---  7 backuppc  backuppc  272 Jul 30 17:08
 work/destroot/${destroot}${prefix}/var/backups

 And after install:

 ls -ld ${prefix}/var/backups
 drwxrwx---  7 root  backuppc  272 Jul 30 17:09 ${prefix}/var/backups }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20496>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list