<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The following still doesn’t work:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-family: Menlo;" class="">gideon@gs_air:swig$ chmod o+x ~</div><div style="margin: 0px; font-family: Menlo;" class="">gideon@gs_air:swig$ sudo port install</div><div style="margin: 0px; font-family: Menlo;" class="">Error: Unable to execute port: Could not open file: /Users/gideon/Downloads/ports/swig/Portfile</div><div class=""><br class=""></div><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">-gideon</span>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Sep 4, 2015, at 10:17 PM, Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com" class="">allbery.b@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 4, 2015 at 10:06 PM, Gideon Simpson <span dir="ltr" class="">&lt;<a href="mailto:gideon.simpson@gmail.com" target="_blank" class="">gideon.simpson@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="margin:0px" class="">gideon@gs_air:swig$ sudo port install</div><div style="margin:0px" class="">Password:</div><div style="margin:0px" class="">Error: Unable to execute port: Could not open file: /Users/gideon/Downloads/ports/swig/Portfile</div><span class="HOEnZb"><font color="#888888" class=""><div class=""></div></font></span></blockquote></div><br class="">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.</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">MacPorts does not perform all operations as root, but drops to the unprivileged "macports" user for most things.<br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class="">brandon s allbery kf8nh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sine nomine associates</div><div class=""><a href="mailto:allbery.b@gmail.com" target="_blank" class="">allbery.b@gmail.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ballbery@sinenomine.net" target="_blank" class="">ballbery@sinenomine.net</a></div><div class="">unix, openafs, kerberos, infrastructure, xmonad &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://sinenomine.net/" target="_blank" class="">http://sinenomine.net</a></div></div></div>
</div></div>
</div></blockquote></div><br class=""></div></body></html>