>>>>> On Sat, 4 Nov 2017, Patrice Clement wrote:
> - find "${S}" -user 'portage' -exec chown root '{}' \; || die
> "chown failed"
> + find "${S}" -user "${PORTAGE_USERNAME}" -exec chown root '{}'
> \; || die "chown failed"
> if use userland_BSD || [[ ${CHOST} == *-darwin* ]] ; then
> - find "${S}" -group 'portage' -exec chgrp wheel '{}' \;
> || die "chgrp failed"
> + find "${S}" -group "${PORTAGE_GRPNAME}" -exec chgrp
> wheel '{}' \; || die "chgrp failed"
> else
> - find "${S}" -group 'portage' -exec chgrp root '{}' \;
> || die "chgrp failed"
> + find "${S}" -group "${PORTAGE_GRPNAME}" -exec chgrp
> root '{}' \; || die "chgrp failed"Why are these necessary? The package manager should change ownership of files to the root user and its group when merging from D to ROOT: https://projects.gentoo.org/pms/6/pms.html#x1-15600012.3.1
pgpT1EdpTHxbH.pgp
Description: PGP signature
