summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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),