Re: Re: [gentoo-dev] RFC: Enable FEATURES=userpriv usersandbox by default?

2012-07-03 Thread Andreas K. Huettel
I guess something like this might work in pkg_postinst of the portage ebuild: find $DISTDIR -maxdepth 1 -type d -uid 0 | xargs chown -R portage:portage I would only trigger something like this once, when upgrading from a version that doesn't have userpriv enabled by default. If you

Re: Re: Re: [gentoo-dev] RFC: Enable FEATURES=userpriv usersandbox by default?

2012-07-03 Thread Andreas K. Huettel
I guess something like this might work in pkg_postinst of the portage ebuild: find $DISTDIR -maxdepth 1 -type d -uid 0 | xargs chown -R portage:portage I would only trigger something like this once, when upgrading from a version that doesn't have userpriv enabled by default.