From: Zac Medico Date: Sat, 25 Oct 2008 18:20:16 +0000 (-0000) Subject: When creating the temporary $DISTDIR, do not try to set the uid since it X-Git-Tag: v2.2_rc13~57 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c7b407c23ea0cff96edfa36a64f05735dee93c8;p=portage.git 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 --- 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):