On Jan 20, 2013, at 11:58 AM, Brandon Allbery <[email protected]> wrote:

> On Sun, Jan 20, 2013 at 11:45 AM, Watson Ladd <[email protected]> wrote:
> $sudo port install smlnj
>> Error: Unable to execute port: could not read 
>> "/Users/watsonladd/ports/lang/smlnj/Portfile": permission denied
>> 
>> This is very odd: the permissions are 644, and naturally sudo should be 
>> giving port root permissions which would allow it to do this.
> 
> MacPorts does not do builds as root, but as the macports user.  Chances are 
> something along the path (like your home directory) is preventing access to 
> the macports user. 

This is probably the issue. I personally set up ACLs giving the macports user 
access to my ports tree, so I can keep the permissions on my home directory 
suitably tight.

vq
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to