summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 4338d6e57..b4c648cf6 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -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)