From 3db036950765176584795d37272c4b33a09ff5a0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 17 Mar 2006 06:25:09 +0000 Subject: [PATCH] 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 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2