diff options
author | Brian Harring <ferringb@gentoo.org> | 2005-03-09 09:06:13 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2005-03-09 09:06:13 +0000 |
commit | a49f0712978e60752b51580b1178ac54ef92f42d (patch) | |
tree | dc5b2ea2efb4d4fce4a46933f4aede31e3b9d963 /pym | |
parent | fs_template _ensure_dirs wasn't accounting for umask (diff) | |
download | portage-cvs-a49f0712978e60752b51580b1178ac54ef92f42d.tar.gz portage-cvs-a49f0712978e60752b51580b1178ac54ef92f42d.tar.bz2 portage-cvs-a49f0712978e60752b51580b1178ac54ef92f42d.zip |
Don't set 02775 on depcache_dir.
Ever.
If the cache backend is stupid and can't get the perms right, fix the backend...
Diffstat (limited to 'pym')
-rw-r--r-- | pym/ebuild.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/ebuild.py b/pym/ebuild.py index 623ac2f..ab1e3e5 100644 --- a/pym/ebuild.py +++ b/pym/ebuild.py @@ -2,7 +2,7 @@ # ebuild.py; Ebuild classes/abstraction of phase processing, and communicating with a ebuild-daemon.sh instance # Copyright 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/ebuild.py,v 1.20 2005/03/09 08:22:59 ferringb Exp $ +#$Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/ebuild.py,v 1.21 2005/03/09 09:06:12 ferringb Exp $ import os,sys,traceback @@ -848,7 +848,7 @@ class ebuild_handler: if not os.path.exists(mysettings["CCACHE_DIR"]): os.makedirs(mysettings["CCACHE_DIR"]) os.chown(mysettings["CCACHE_DIR"],portage_uid,portage_gid) - os.chmod(mysettings["CCACHE_DIR"],02775) + os.chmod(mysettings["CCACHE_DIR"],0775) except OSError, e: print "!!! File system problem. (ReadOnly? Out of space?)" print "!!! Perhaps: rm -Rf",mysettings["BUILD_PREFIX"] |