From: Zac Medico Date: Thu, 31 Jul 2008 11:44:28 +0000 (-0000) Subject: Always invalidate results from _userpriv_test_write_file_cache when X-Git-Tag: v2.2_rc6~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=71185c8e87adb4b4a740e6478ceeb886d8231e14;p=portage.git Always invalidate results from _userpriv_test_write_file_cache when adjusting permissions on a given directory. svn path=/main/trunk/; revision=11298 --- 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):