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
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.