On Sun, 09 Nov 2025 13:39:27 +0100, Walter Alejandro Iglesias <[email protected]> wrote: > > Hi list, > > I followed the instructions here: > > https://www.openbsd.org/faq/ports/ports.html#PortsConfig > > The part under "Configuration of the Ports System" where it explains how > to build as a common user. The text states: > > "Again, ports can be built as a user, but must be installed by root or > with doas(1)." > > But after editing /etc/mk.conf and changing username and group of those > directories (including /usr/ports) when I run "make" as a common user I > get this: > > pkg_add: pkg_add must be run as root > > What am I missing? >
Probably you need PORTS_PRIVSEP=yes SUDO=doas -- wbr, Kirill

