R. David Murray added the comment: In other words, on unix shutil.rmtree is *already* 'rm -rf'. This then argues that it *not* deleting read only files on Windows is a bug, albeit one we may not be able to fix for backward compatibility reasons.
Ah, and now my memory is jogged. This is a duplicate of issue 19643, and that was more or less the conclusion. ---------- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> shutil rmtree fails on readonly files in Windows _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22040> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com