Permission error when developing port

Lawrence Velázquez larryv at macports.org
Sun Jan 20 12:32:04 PST 2013


On Jan 20, 2013, at 11:58 AM, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Sun, Jan 20, 2013 at 11:45 AM, Watson Ladd <watsonbladd at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130120/748115dc/attachment.html>


More information about the macports-users mailing list