Use 755 permissions for ${PORTAGE_WORKDIR}/distdir (bug #149062).
authorZac Medico <zmedico@gentoo.org>
Tue, 3 Oct 2006 19:03:23 +0000 (19:03 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 3 Oct 2006 19:03:23 +0000 (19:03 -0000)
svn path=/main/trunk/; revision=4581

pym/portage.py

index 50ad21635722aa216bad01d7515120f3c49f09b9..e95bcc8ff1157b864ace6c75760ebf7e8873778d 100644 (file)
@@ -3010,7 +3010,8 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                                        print "!!! Failed reseting ebuild distdir path, " + edpath
                                        raise
                        os.mkdir(edpath)
-                       apply_secpass_permissions(edpath, gid=portage_gid, mode=0775)
+                       apply_secpass_permissions(edpath, uid=portage_uid, gid=portage_gid,
+                               mode=0755)
                        try:
                                for file in aalist:
                                        os.symlink(os.path.join(orig_distdir, file),