Created attachment 321032 [details] Sanitize permissions of installed files with FEATURES=installsources When FEATURES includes ‘installsources’, and a package has weird permissions in its source tarball or sets them in its ebuild, these permissions are kept when installing the source files for debugging. I noticed this problem with two packages on my system so far, namely app-admin/apg-2.3.0b-r5, and dev-vcs/git-1.7.8.6. For apg, the ebuild changes permissions; for git, the source tarball has no rights for group or others. Attached patch works for me and fixes the problem.
Thanks, this is in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a1c6b4cf64735c65ffc64706d0f4e4733cd59562
This is fixed in 2.1.11.10 and 2.2.0_alpha121.