[issue35144] TemporaryDirectory clean-up fails with unsearchable directories
lilydjwg
report at bugs.python.org
Sat Nov 3 02:50:33 EDT 2018
lilydjwg <lilydjwg at gmail.com> added the comment:
Yes issue26660 is similar but not the same. On Windows it seems a read-only file cannot be deleted while on Linux a file resident in a non-searchable directory cannot be deleted.
An onerror for TemporaryDirectory will work. Also I'd like to add an optional dir_fd argument for onerror.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35144>
_______________________________________
More information about the Python-bugs-list
mailing list