On Mon, Nov 05, 2018 at 11:55:28AM +0100, Marc Espie wrote: > On Mon, Nov 05, 2018 at 12:34:29PM +0200, Paul Irofti wrote: > > Hi, > > > > Would you guys think it would be a good idea to have a script in > > infrastructure/bin that sets the correct permissions for dpb to work > > (_pbuild, _pfetch etc.)? > > > > Something like this but with fancy variables to satisfy the people that have > > LOCALBASE and stuff like that in random places. > > You currently have two ways to do things: > - use proot to populate a chroot. This will setup permissions according to > what locations you pass along (or the default locations...) and create > the correct /etc/mk.conf in the chroot. > - use the new fix-permissions target from anywhere within the ports tree, > which, again, will take into account your /etc/mk.conf variables.
Before using this, I tried running fix-permissions from /usr/ports and it said no such target. Maybe I was not up to date? Or is this supposed to execute on a port-by-port basis?