Use the portage gid for BUILD_PREFIX.
authorZac Medico <zmedico@gentoo.org>
Wed, 19 Jul 2006 01:13:52 +0000 (01:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 19 Jul 2006 01:13:52 +0000 (01:13 -0000)
svn path=/main/trunk/; revision=3922

pym/portage.py

index 4338d6e57ff39fd6fdc6bd9bf8884f888d6a7637..b4c648cf6c3f9a45b405dd8995847d7fe36cc4ef 100644 (file)
@@ -2739,7 +2739,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                # Build directory creation isn't required for any of these.
                if mydo not in ["fetch","digest","manifest"]:
                        portage_util.ensure_dirs(
-                               mysettings["BUILD_PREFIX"], mode=070, mask=02)
+                               mysettings["BUILD_PREFIX"], gid=portage_gid, mode=070, mask=02)
                        builddir_lock = portage_locks.lockdir(
                                mysettings["PORTAGE_BUILDDIR"])
                        mystatus = prepare_build_dirs(myroot, mysettings, cleanup)