summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-25 18:20:16 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-25 18:20:16 +0000
commit6c7b407c23ea0cff96edfa36a64f05735dee93c8 (patch)
treec4e9f563fd14e2d8533acde49e3bb2bde46ef77d
parent97b3e8be9b5b63c4476c6a76c3aecb8bf9e20725 (diff)
downloadportage-6c7b407c23ea0cff96edfa36a64f05735dee93c8.tar.gz
portage-6c7b407c23ea0cff96edfa36a64f05735dee93c8.tar.bz2
portage-6c7b407c23ea0cff96edfa36a64f05735dee93c8.zip
When creating the temporary $DISTDIR, do not try to set the uid since it
will fail when not running as root. svn path=/main/trunk/; revision=11725
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 3ec0f08d7..cb3ebed45 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -5656,7 +5656,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
mysettings["PORTAGE_ACTUAL_DISTDIR"] = orig_distdir
edpath = mysettings["DISTDIR"] = \
os.path.join(mysettings["PORTAGE_BUILDDIR"], "distdir")
- portage.util.ensure_dirs(edpath, uid=portage_uid, mode=0755)
+ portage.util.ensure_dirs(edpath, gid=portage_gid, mode=0755)
# Remove any unexpected files or directories.
for x in os.listdir(edpath):