On Fri, May 9, 2025 at 20:51 H. Hartzer <h...@hartzer.sh> wrote: > > dpb -P ~/packages refuses to run. It says "Bad package path." > > Ok, I figured this out. dpb must have some permissions restrictions and > even though I'm running it as root, it can't read /root/packages. /root > is chmod 700 on this machine. I threw it in /tmp and it runs now.
Per the "Using dpb to Build Multiple Ports"[0] section of the ports FAQ: "If run as root, dpb will automatically drop privileges to dedicated users for fetching distfiles and building ports. This is the recommended way to use it, but it can also run as a regular user." It's _highly_ suggested to configure PORTS_PRIVSEP[1], especially if using dpb. [0] <https://www.openbsd.org/faq/ports/ports.html#dpb> [1] <https://man.openbsd.org/bsd.port.mk#PORTS_PRIVSEP> Hope that helps, Morgan >