Skip to content

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Nov 4, 2018

TemporaryDirectory.cleanup() failed when non-writeable or non-searchable
files or directories were created inside a temporary directory.

https://bugs.python.org/issue26660

…an up.

TemporaryDirectory.cleanup() failed when non-writeable or non-searchable
files or directories were created inside a temporary directory.
@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Nov 4, 2018
techalchemy added a commit to sarugaku/vistir that referenced this pull request Nov 10, 2018
- Backport python/cpython#10320 (not yet merged) for better cleanup on
  `shutil.rmtree` failure (using `os.chflags`)
- Add compatibility shims for `PermissionError` and `IsADirectory`
  exceptions
- General cleanup
- Fixes #38

Signed-off-by: Dan Ryan <[email protected]>
@akaihola
Copy link

akaihola commented Jan 7, 2023

For anyone still needing to support Python 3.7 and having this issue, you can find a recipe for a work-around in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants