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.

Reply via email to