From 71185c8e87adb4b4a740e6478ceeb886d8231e14 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 31 Jul 2008 11:44:28 +0000 Subject: [PATCH] Always invalidate results from _userpriv_test_write_file_cache when adjusting permissions on a given directory. svn path=/main/trunk/; revision=11298 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 94f818af0..e3e38868a 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3564,8 +3564,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", if _userpriv_test_write_file(mysettings, write_test_file): continue + _userpriv_test_write_file_cache.pop(write_test_file, None) if portage.util.ensure_dirs(mydir, gid=dir_gid, mode=dirmode, mask=modemask): - _userpriv_test_write_file_cache.pop(write_test_file, None) writemsg("Adjusting permissions recursively: '%s'\n" % mydir, noiselevel=-1) def onerror(e): -- 2.26.2