summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-03 19:03:23 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-03 19:03:23 +0000
commitab09f41216b259f0ebb5941065b667847fbe9083 (patch)
treea262aac11fd8bc1d690ce60a757122596a9ccfc6
parent434952b487e98247a13ff6a769f84191f3f41109 (diff)
downloadportage-ab09f41216b259f0ebb5941065b667847fbe9083.tar.gz
portage-ab09f41216b259f0ebb5941065b667847fbe9083.tar.bz2
portage-ab09f41216b259f0ebb5941065b667847fbe9083.zip
Use 755 permissions for ${PORTAGE_WORKDIR}/distdir (bug #149062).
svn path=/main/trunk/; revision=4581
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 50ad21635..e95bcc8ff 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -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),