On 2020-03-19 20:18, Alarig Le Lay wrote: > Yes and it has always worked. `dobin` shouldn’t try to chown in theory, > it’s done during the merge.
Assuming it's /usr/lib/portage/python3.6/ebuild-helpers/dobin, mine contains as the last significant chunk the following: for x in "$@" ; do if [[ -e ${x} ]] ; then install -m0755 -o ${PORTAGE_INST_UID:-0} -g ${PORTAGE_INST_GID:-0} "${x}" "${ED%/}/${_E_DESTTREE_#/}/bin" else echo "!!! ${0##*/}: $x does not exist" 1>&2 false fi ((ret|=$?)) done so it is indeed trying to set the owner to root. Maybe if I set PORTAGE_INST_{UID,GID} to my own it will not really try to change them. Are you saying you didn't have to do that? Does your version of the script contain the above code? -- Ian