On 2015-07-25, Landry Breuil <[email protected]> wrote:
> after fighting a bit with perms (_pbuild needs write access to
> ${WRKOBJDIR} so either put it in wsrc or or install -d -o _pbuild
> ${WRKOBJDIR} in the STARTUP script, _pfetch needs write to
> /usr/ports/distfiles so.. ive put it in wsrc for now) stuff finally
> started building "fine". Two things:
> - not easy to fix failures with another user. Is it possible to have
> _pbuild run umask 002 so that i can share a group with it ? I suppose
> this could be done in login.conf.. would that be a sensible default ?
Basically you are destroying the separation between users that is
the point of _pfetch/_pbuild in the first place.
I think the way to solve this is to dive into bsd.port.mk and have
manual builds use "${SUDO} -u _pbuild" etc. to switch to the same
user as dpb at the respective stages.
I also think this whole topic should be postponed until after the
release.
--
Christian "naddy" Weisgerber [email protected]