Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedNov 4, 2018
edited by bedevere-bot
Loading

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

https://bugs.python.org/issue26660

lilydjwg, Zitrax, techalchemy, H--o-l, mm-matthias, and pawamoy reacted with thumbs up emoji
…an up.TemporaryDirectory.cleanup() failed when non-writeable or non-searchablefiles or directories were created inside a temporary directory.
@serhiy-storchakaserhiy-storchaka added the type-bugAn unexpected behavior, bug, or error labelNov 4, 2018
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>
@serhiy-storchakaserhiy-storchaka merged commite9b51c0 intopython:masterMay 31, 2019
@serhiy-storchakaserhiy-storchaka deleted the tempfile-cleanup-permissions branchMay 31, 2019 08:30
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.
@juhuebnerjuhuebner mentioned this pull requestFeb 4, 2021
@akaihola
Copy link

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 freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

type-bugAn unexpected behavior, bug, or error

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@serhiy-storchaka@akaihola@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp