installing an older port

Brandon Allbery allbery.b at gmail.com
Fri Sep 4 19:17:41 PDT 2015


On Fri, Sep 4, 2015 at 10:06 PM, Gideon Simpson <gideon.simpson at gmail.com>
wrote:

> gideon at gs_air:swig$ sudo port install
> Password:
> Error: Unable to execute port: Could not open file:
> /Users/gideon/Downloads/ports/swig/Portfile
>

Make sure that the user "macports" can get to that directory. This usually
means "chmod o+x ~" to grant search (only) privilege so that it can
traverse ~ to get to the swig subdirectory. (If you are feeling paranoid,
you can use "chmod -e" to limit that access to the "macports" user instead
of all users; see `man 1 chmod` for how OS X ACLs work.) Likewise ensure
that the swig directory grants access to the "macports" user and that that
user can read the Portfile and patch.

MacPorts does not perform all operations as root, but drops to the
unprivileged "macports" user for most things.

-- 
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: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150904/c025570a/attachment.html>


More information about the macports-users mailing list