Install phase changes permissions

James Kyle jameskyle at macports.org
Thu Jul 30 17:11:44 PDT 2009


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

How can I prevent this?

Do I need to do a post-install and change the permissions manually?

-james




More information about the macports-dev mailing list