diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-10-04 07:37:01 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-10-04 07:37:01 +0000 |
commit | 9016e4da692b6d31ffd10913fdbf5a66c9f1646e (patch) | |
tree | 21e37c976e8478590b4667c0a6ce745913f89878 | |
parent | c97d73758e38eb418e819e1cdb1c0a5936d2f972 (diff) | |
download | portage-9016e4da692b6d31ffd10913fdbf5a66c9f1646e.tar.gz portage-9016e4da692b6d31ffd10913fdbf5a66c9f1646e.tar.bz2 portage-9016e4da692b6d31ffd10913fdbf5a66c9f1646e.zip |
Don't apply the sticky bits until we have a complete plan for bug #149062.
svn path=/main/trunk/; revision=4589
-rwxr-xr-x | bin/emerge | 2 | ||||
-rw-r--r-- | pym/portage.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/emerge b/bin/emerge index bd3ca3e2d..90c1778b1 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2030,7 +2030,7 @@ class MergeTask(object): portage_util.ensure_dirs( os.path.dirname(pkgsettings["PORTAGE_BUILDDIR"]), uid=portage.portage_uid, gid=portage.portage_gid, - mode=01775) + mode=070, mask=0) builddir_lock = None try: builddir_lock = portage_locks.lockdir( diff --git a/pym/portage.py b/pym/portage.py index a1fb2aef3..7a6db9505 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2695,7 +2695,7 @@ def prepare_build_dirs(myroot, mysettings, cleanup): try: portage_util.ensure_dirs(mysettings["BUILD_PREFIX"]) portage_util.apply_secpass_permissions(mysettings["BUILD_PREFIX"], - gid=portage_gid, uid=portage_uid, mode=01775) + gid=portage_gid, uid=portage_uid, mode=070, mask=0) for dir_key in ("PORTAGE_BUILDDIR", "HOME", "PKG_LOGDIR", "T"): """These directories don't necessarily need to be group writable. However, the setup phase is commonly run as a privileged user prior @@ -5799,7 +5799,7 @@ class dblink: self.settings, 0, 0, self.vartree.dbapi) portage_util.ensure_dirs( os.path.dirname(self.settings["PORTAGE_BUILDDIR"]), - uid=portage_uid, gid=portage_gid, mode=01775) + uid=portage_uid, gid=portage_gid, mode=070, mask=0) builddir_lock = None try: if myebuildpath: @@ -6638,7 +6638,7 @@ def pkgmerge(mytbz2, myroot, mysettings, mydbapi=None, vartree=None, prev_mtimes myebuild = os.path.join( infloc, os.path.basename(mytbz2)[:-4] + "ebuild") portage_util.ensure_dirs(os.path.dirname(builddir), - uid=portage_uid, gid=portage_gid, mode=01775) + uid=portage_uid, gid=portage_gid, mode=070, mask=0) builddir_lock = portage_locks.lockdir(builddir) try: shutil.rmtree(builddir) |