Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
bpo-26660, bpo-35144: Fix permission errors in TemporaryDirectory cleanup.#10320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
serhiy-storchaka merged 2 commits intopython:masterfromserhiy-storchaka:tempfile-cleanup-permissionsMay 31, 2019
Merged
bpo-26660, bpo-35144: Fix permission errors in TemporaryDirectory cleanup.#10320
serhiy-storchaka merged 2 commits intopython:masterfromserhiy-storchaka:tempfile-cleanup-permissionsMay 31, 2019
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
…an up.TemporaryDirectory.cleanup() failed when non-writeable or non-searchablefiles or directories were created inside a temporary directory.
techalchemy added a commit to sarugaku/vistir that referenced this pull requestNov 10, 2018
- Backportpython/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#38Signed-off-by: Dan Ryan <dan@danryan.co>
DinoV pushed a commit to DinoV/cpython that referenced this pull requestJan 14, 2020
…anup. (pythonGH-10320)TemporaryDirectory.cleanup() failed when non-writeable or non-searchablefiles or directories were created inside a temporary directory.
Closed
akaihola commentedJan 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: |
3 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading.Please reload this page.
TemporaryDirectory.cleanup() failed when non-writeable or non-searchable
files or directories were created inside a temporary directory.
https://bugs.python.org/issue26660