From 6c7b407c23ea0cff96edfa36a64f05735dee93c8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 25 Oct 2008 18:20:16 +0000 Subject: [PATCH] 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 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2