Permission error when developing port

Brandon Allbery allbery.b at gmail.com
Sun Jan 20 08:58:15 PST 2013


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.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130120/516d76ac/attachment.html>


More information about the macports-users mailing list