Something like ebuild /usr/local/portage/net-p2p/freenet/freenet-0.7.1050.ebuild digest works ebuild /usr/local/portage/net-p2p/freenet-bin/freenet-bin-0.7.1050.ebuild digest fails with /usr/lib64/portage/bin/ebuild.sh: line 1535: /usr/local/portage/net-p2p/freenet-bin/freenet-bin-0.7.1050.ebuild: Permission denied The permissions for the folder and files are in both cases the same. With stable portage (2.1.2.11) there is no such error. And i only have this problem on ~amd64, on ~x86 it seems to work with portage-2.1.3.3 Reproducible: Always Steps to Reproduce:
Created attachment 127121 [details, diff] only drop privileges when FEATURES=userpriv is enabled It seems like you have some restrictive permissions on ${PORTDIR}. If you save this patch as /tmp/userpriv.patch then you can apply it like this: patch /usr/lib/portage/pym/portage.py < /tmp/userpriv.patch
I dont know why but after using stable portage and going back to unstable portage i cannot reproduce this error any more. Now i am only able to get it if i manually chmod 750 the folder and in this case the patch does help. Sorry for the noise.
(In reply to comment #1) > Created an attachment (id=127121) [edit] > only drop privileges when FEATURES=userpriv is enabled This has been released in 2.1.3.4.