Tarek Ziadé <[email protected]> added the comment: Looking at your example rubenlm, it appears like a case that is missing in rmtree().
You are trying to chmod your tree if a file in there cannot be removed because of the permissions. This sounds like something we need to add in rmtree() directly, for example under a "force_permissions" flag that would handle permission failures by trying to chmod. I think rmtree() should not try to delegate the hard work to third party code, and should try to handle as much failures as possible, and just return errors. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue8523> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
