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

VS Code locks folders on Windows, preventing deletion/rename #194845

Closed
connor4312 opened this issue Oct 4, 2023 · 2 comments
Closed

VS Code locks folders on Windows, preventing deletion/rename #194845

connor4312 opened this issue Oct 4, 2023 · 2 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@connor4312
Copy link
Member

          @connor4312 still happening for me on 2.3.5
Debugger listening on ws://127.0.0.1:50430/e64e9856-b975-4bd9-845e-bf063bce0df1
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Downloading VS Code insiders from https://update.code.visualstudio.com/latest/win32-x64-archive/insider
Downloading VS Code [==============================] 100%
Error downloading, retrying (attempt 1 of 3): EPERM: operation not permitted, rename 'C:\Users\jgrote\Projects\vscode-adapter\.vscode-test\vscode-win32-x64-archive-insiders.tmp' -> 'C:\Users\jgrote\Projects\vscode-adapter\.vscode-test\vscode-win32-x64-archive-insiders'

Weirdly, when I go to manually delete the tmp folder, I get an admin popup
image

not sure what kind of permissions weirdness may be happening here, they look normal to me in the properties and are set to inherit.

EDIT: The popup appears to be because vscode still has a handle open in that folder. Killing the process and it works. Maybe related?

EDIT2: If I start the test outside vscode, e.g. from windows terminal, it works fine, so something in vscode holding a handle in that folder it shouldn't be?

Originally posted by @JustinGrote in microsoft/vscode-test#233 (comment)


I've seen this happen a few times, I'll try to get more info next time I see it

@bpasero bpasero added the ~info-needed Issue requires more information from poster (with bot comment) label Oct 5, 2023
@vscodenpa vscodenpa removed the ~info-needed Issue requires more information from poster (with bot comment) label Oct 5, 2023
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

@vscodenpa vscodenpa added the info-needed Issue requires more information from poster label Oct 5, 2023
@vscodenpa
Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants