fetch: don't require g+s mode on $DISTDIR
authorZac Medico <zmedico@gentoo.org>
Wed, 29 Dec 2010 19:04:02 +0000 (11:04 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 31 Dec 2010 06:17:52 +0000 (22:17 -0800)
The g+s mode doesn't seem to help anyone (including live ebuilds
since they typically don't do recursive g+w). We already do manual
application of portage group privileges to individual files, so the
g+s mode is redundant.

pym/portage/package/ebuild/fetch.py

index 7d61e900bd3509d4a3290a22835658e8972d1835..99e2a8645de02bef62219f38b58e849145f62d2f 100644 (file)
@@ -460,7 +460,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0,
 
        if can_fetch and not fetch_to_ro:
                global _userpriv_test_write_file_cache
-               dirmode  = 0o2070
+               dirmode  = 0o070
                filemode =   0o60
                modemask =    0o2
                dir_gid = portage_gid