Skip to content

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

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
smackware:fix_39327
Feb 20, 2022
Merged

bpo-39327: Fixed issue: Avoid "Text File Busy" OSError#31384
serhiy-storchaka merged 2 commits into
python:mainfrom
smackware:fix_39327

Conversation

@smackware

@smackware smackware commented Feb 17, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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
Comment thread Misc/NEWS.d/next/Library/2022-02-17-13-10-50.bpo-39327.ytIT7Z.rst Outdated
@miss-islington

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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
Copy Markdown

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

@bedevere-bot

Copy link
Copy Markdown

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

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Feb 20, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request 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 pushed a commit to miss-islington/cpython that referenced this pull request 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 that referenced this pull request Feb 21, 2022
GH-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 that referenced this pull request Feb 21, 2022
GH-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>
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants