Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-39327: Fixed issue: Avoid "Text File Busy" OSError #31384

Merged
merged 2 commits into from Feb 20, 2022

Conversation

@smackware
Copy link
Contributor

@smackware smackware commented Feb 17, 2022

When using 'rmtree' on a windows-managed filesystem in via the VirtualBox shared
folder (and possible other scenarios like a windows-managed network file
system) it will no longer give the error above and the rmtree succeeds

https://bugs.python.org/issue39327

https://bugs.python.org/issue39327

@the-knights-who-say-ni
Copy link

@the-knights-who-say-ni the-knights-who-say-ni commented Feb 17, 2022

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

Recognized GitHub username

We couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames:

@smackware

This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

When using 'rmtree' on a windows-managed filesystem in via the VirtualBox shared
folder (and possible other scenarios like a windows-managed network file
system) it will no longer give the error above and the rmtree succeeds
@serhiy-storchaka serhiy-storchaka merged commit b77158b into python:main Feb 20, 2022
12 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 20, 2022

Thanks @smackware for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒🤖

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 20, 2022

Thanks @smackware for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒🤖

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Feb 20, 2022

GH-31450 is a backport of this pull request to the 3.9 branch.

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Feb 20, 2022

GH-31451 is a backport of this pull request to the 3.10 branch.

miss-islington added a commit to miss-islington/cpython that referenced this issue Feb 20, 2022
pythonGH-31384)

It fixes the "Text File Busy" OSError when using 'rmtree' on a
windows-managed filesystem in via the VirtualBox shared folder
(and possible other scenarios like a windows-managed network file
system).
(cherry picked from commit b77158b)

Co-authored-by: Lital Natan <litaln@gmail.com>
miss-islington added a commit to miss-islington/cpython that referenced this issue Feb 20, 2022
pythonGH-31384)

It fixes the "Text File Busy" OSError when using 'rmtree' on a
windows-managed filesystem in via the VirtualBox shared folder
(and possible other scenarios like a windows-managed network file
system).
(cherry picked from commit b77158b)

Co-authored-by: Lital Natan <litaln@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants