aboutsummaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2005-03-09 09:07:13 +0000
committerBrian Harring <ferringb@gentoo.org>2005-03-09 09:07:13 +0000
commit47c75ec60b48c24b4774fd0ed7e600b1208fdbd0 (patch)
treed37e61aed1fc014e79acf50c6bc1e604e3aba3d4 /pym
parentDon't set 02775 on depcache_dir. (diff)
downloadportage-cvs-47c75ec60b48c24b4774fd0ed7e600b1208fdbd0.tar.gz
portage-cvs-47c75ec60b48c24b4774fd0ed7e600b1208fdbd0.tar.bz2
portage-cvs-47c75ec60b48c24b4774fd0ed7e600b1208fdbd0.zip
bye bye 02775, hello 0775
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 57f3018..cda8df3 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2,10 +2,10 @@
# portage.py -- core Portage functionality
# Copyright 1998-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/portage.py,v 1.583 2005/03/09 08:22:58 ferringb Exp $
-cvs_id_string="$Id: portage.py,v 1.583 2005/03/09 08:22:58 ferringb Exp $"[5:-2]
+# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/portage.py,v 1.584 2005/03/09 09:07:13 ferringb Exp $
+cvs_id_string="$Id: portage.py,v 1.584 2005/03/09 09:07:13 ferringb Exp $"[5:-2]
-VERSION="$Revision: 1.583 $"[11:-2] + "-cvs"
+VERSION="$Revision: 1.584 $"[11:-2] + "-cvs"
# ===========================================================================
# START OF IMPORTS -- START OF IMPORTS -- START OF IMPORTS -- START OF IMPORT
@@ -5124,7 +5124,7 @@ if not os.environ.has_key("SANDBOX_ACTIVE"):
try:
mystat=os.lstat(cachedir+"/dep")
os.chown(cachedir+"/dep",uid,portage_gid)
- os.chmod(cachedir+"/dep",02775)
+ os.chmod(cachedir+"/dep",0775)
if mystat[stat.ST_GID]!=portage_gid:
spawn("chown -R "+str(uid)+":"+str(portage_gid)+" "+cachedir+"/dep",settings,free=1)
spawn("chmod -R u+rw,g+rw "+cachedir+"/dep",settings,free=1)