<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 10, 2015 at 7:27 PM, Ian Wadham <span dir="ltr">&lt;<a href="mailto:iandw.au@gmail.com" target="_blank">iandw.au@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":3pk" class="" style="overflow:hidden">From now on I want to use sudo, have a local-port structure that is NOT in /opt/local<br>
and have NO modifications of standard permissions in /opt/local.<br>
<br>
But how do I get there, *safely*, from where I am?<br></div></blockquote></div><br><a href="https://guide.macports.org/#development.local-repositories">https://guide.macports.org/#development.local-repositories</a> is a good start. If you want a complete sandboxing, you can install MacPorts from source with a different prefix (and possibly even a different &quot;macports&quot; build user, for extra insulation). Change $PATH to switch from the main one to the devel one, presumably not having /opt/local/bin etc. in $PATH at all when working with the devel installation.<br><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>