<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Could you reproduce the issue? I tried a number of ways to fix that, but nothing worked.<br />
Sudo anything does not work from the portfile code, and I am not sure how to otherwise emulate “sudo -u normal-non-root-user”.<br />
<br />
(If you got no arm64 hardware, presumably things will be the same on recent-enough x86_64, though I cannot verify that. For the same reason I cannot try running tests with 2.x version, as there is no Qt5 support in it.)</div>
</div>
<div name="messageReplySection">On Feb 25, 2024 at 04:49 +0700, Ken Cunningham <ken.cunningham.webuse@gmail.com>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">You are completely right, and I was wrong about this.<br />
<br />
I am now not certain how it came to be that macports was installed under the root user for the 10.6-ppc installation in the mentioned ticket (assuming I got the part right).<br />
<br />
K<br />
<br />
<blockquote type="cite">On Feb 24, 2024, at 13:07, Joshua Root <jmr@macports.org> wrote:<br />
<br />
On 25/2/2024 03:07, Ken Cunningham wrote:<br />
<blockquote type="cite">Some of your macports installations are installed as the root user, instead of the macports user.<br />
This happened because there is no installer for 10.6-ppc to automatically create the macports user. You have an open ticket about this too, where I pointed to the commands to be run to generate the macports user.<br />
Sooner or later you will probably have to fix this.<br /></blockquote>
<br />
It shouldn't make any difference to this whether you use the pkg installer or install from source, since the Makefile also creates the run user. Unless of course you specifically tell configure --with-macports-user=root (very not recommended).<br />
<br />
- Josh<br /></blockquote>
</blockquote>
</div>
</body>
</html>