Hynek Schlawack added the comment: How about something along of: new arg on_wrong_perm= 1. WRONG_PERM_IGNORE 2. WRONG_PERM_FAIL 3. callable that gets called with the directory name and maybe the existing perms to save stat call_ ? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue13498> _______________________________________