<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 13, 2014 at 9:03 PM, Jeffry Killen <span dir="ltr">&lt;<a href="mailto:jekillen@prodigy.net" target="_blank">jekillen@prodigy.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It requires activating the &#39;root&#39; user account so the Apache<br>
configuration file can be edited to allow Apache to load the<br>
module. I have done all that and can use the local server as<br>
</blockquote><div><br></div><div>??? sudo should work fine for that, and certainly worked in 10.5.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Error: User jekillen does not own /opt/local - try using sudo<br>
Please run `port -v selfupdate&#39; for details.<br>
Error: /opt/local/bin/port: port selfupdate failed: User jekillen does not own /opt/local - try using sudo<br>
<br>
So,<br>
Any one know what I am talking about and has some useful advice?<br></blockquote><div><br></div><div>You appear to have a mis-installed MacPorts.</div><div><br></div><div>MacPorts avoids doing most things as root; instead it switches to a dedicated macports account for many things, reserving root for only those things that need it. But in your case, it is trying to use your account as the non-root account --- and this account does not have access to MacPorts internals that are expected to be owned by the dedicated account.</div>
<div><br></div><div>Take a look at /opt/local/etc/macports/macports.conf. One of the entries should be &quot;macportsuser&quot;; by default it is commented out and the associated value is the default non-privileged user (&quot;macports&quot;). Is it uncommented in yours? Is the user &quot;jekillen&quot;? Perhaps most importantly, did you change this entry at some point? (It should normally not be changed unless you e.g. need multiple MacPorts installations.)</div>
<div><br></div></div>-- <br><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>