How to force run tests as non-root?

Joshua Root jmr at
Sat Feb 24 07:28:43 UTC 2024

On 24/2/2024 17:27, Sergey Fedorov wrote:
> If Macports is running as root, but tests require non-root user, how to 
> do that?
> There is no test.asroot no, apparently.

All the usual ways you can run something as another user when you are 
root. You could prefix your build.cmd with 'sudo -u $macportsuser' for 

- Josh

More information about the macports-dev mailing list