Skip to content

SERVER-98727 Add write permission to files about to be deleted, preventing PermissionError access is denied in windows 11 #1605

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ssooffiiaannee
Copy link

PermissionError: [WinError 5] Access is denied: 'bazel-out\x64_windows-dbg\bin\src\mongo\bson\bson_validate_gen_gen_source_tag.gen_source_list'
Bazel Build failed with 1!

The files can't be deleted due to read-only permission, the commit changes permissions before the os.remove.

@kelly-cs kelly-cs self-requested a review December 20, 2024 22:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant