On Jan 20, 2013, at 14:32, Lawrence Velázquez <[email protected]> wrote:

> 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.

To my knowledge, our documentation still dates from a time before the GSoC-08 
Privileges branch was merged in; if someone could document how to set up such 
ACLs, or other solutions to the issue, that would be helpful.



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

Reply via email to