This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anthony Sottile
Recipients Anthony Sottile, eryksun, larry
Date 2015-12-23.00:11:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450829511.84.0.131588646378.issue25930@psf.upfronthosting.co.za>
In-reply-to
Content
Breaks this function:

```
def rmtree(path):
    """On windows, rmtree fails for readonly dirs."""
    def handle_remove_readonly(func, path, exc):  # pragma: no cover (windows)
        excvalue = exc[1]
        if func in (os.rmdir, os.remove) and excvalue.errno == errno.EACCES:
            os.chmod(path, stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO)
            func(path)
        else:
            raise
    shutil.rmtree(path, ignore_errors=False, onerror=handle_remove_readonly)
```
History
Date User Action Args
2015-12-23 00:11:51Anthony Sottilesetrecipients: + Anthony Sottile, larry, eryksun
2015-12-23 00:11:51Anthony Sottilesetmessageid: <1450829511.84.0.131588646378.issue25930@psf.upfronthosting.co.za>
2015-12-23 00:11:51Anthony Sottilelinkissue25930 messages
2015-12-23 00:11:51Anthony Sottilecreate