From: Zac Medico Date: Fri, 17 Mar 2006 06:25:09 +0000 (-0000) Subject: Disable confcache when it's not possible to apply correct group permissions to an... X-Git-Tag: v2.1_pre7~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3db036950765176584795d37272c4b33a09ff5a0;p=portage.git Disable confcache when it's not possible to apply correct group permissions to an existing file in CONFCACHE_DIR. svn path=/main/trunk/; revision=2913 --- diff --git a/pym/portage.py b/pym/portage.py index 0baa93bc2..bdc579c52 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2605,7 +2605,7 @@ def prepare_build_dirs(myroot, mysettings, cleanup): for x in listdir(mysettings["CONFCACHE_DIR"]): cache_file = os.path.join(mysettings["CONFCACHE_DIR"], x) try: - apply_secpass_permissions(cache_file, gid=portage_gid, mode=0660, mask=07000) + confcache_enabled = apply_secpass_permissions(cache_file, gid=portage_gid, mode=0660, mask=07000) except portage_exception.OperationNotPermitted, e: writemsg("Operation Not Permitted: %s\n" % str(e)) confcache_enabled = False