<div dir="ltr">Found the issue, my PATH was pointing to an older macports binary which used different macports.conf!  No help required now.</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jul 2, 2025 at 6:57 PM Nick <<a href="mailto:atod101101@gmail.com">atod101101@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>My proposal here is to create a new user account for macports and development work.  Logged into this account 'mp0' I tried:</div><div><br></div><div>./configure --with-no-root-privileges --prefix=${HOME]/mp-install --with-install-user=mp0 --with-install-group=mp0</div><div>make</div><div>make install</div><div><br></div><div>However, now when I try to install a port I get an error that macports has insufficient privileges to write to the install directory.  I can touch files in this directory without any error.</div><div><br></div><div>Does anyone have suggestions on resolving this?</div><div><br></div><div>I created the account using dscl, not sure if there is something that I should be aware of doing this.</div><div><br></div><div>Thanks!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 2, 2025 at 5:16 PM Nick <<a href="mailto:atod101101@gmail.com" target="_blank">atod101101@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">What are best practices in sandboxing MacPorts to a non-admin user account and still retaining the ability to use XQuartz?<div><br></div><div>For instance, I would like to invoke all applications as a certain user, without administrative privileges, however at the same time still be able to use XQuartz graphically from my privileged account. I was hoping XQuartz could be installed specific to this non-admin user as well.  Unsure if such isolation is possible.<br></div><div><br></div><div>I'm doing some sandbox testing.  I see a 'macports' user, however in my first installation many of the files in /opt/local are owned by root.  I was hoping to install a specific to a user account for all MacPorts.</div></div>
</blockquote></div>
</blockquote></div>