You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a file in a subdirectory. E.g. /tmp/testfolder/file.py
Close that file tab (while keeping vscode still open)
Attempt to move that folder through windows explorer or vscode
You should get Error: EACCES: permission denied, rename '/tmp/testfolder' -> '/newlocation/testfolder/'
If you attempt to move with windows you will get
It looks like vscode holds onto the lock (if this is correct) of the parent folder of a modified file despite it being closed in WSL. This is not a problem when not using Remote - WSL.
The problem occurs when you rename the folder as well.
Does this issue occur when all extensions are disabled?: Yes/No
Remote - WSL is required to open the remote window.
The text was updated successfully, but these errors were encountered:
apham-sy
changed the title
VSCode w/ WSL Prevents folder from being moved despite all files being closed
VSCode w/ WSL Prevents folder from being moved/renamed despite all files being closed
Dec 17, 2020
Steps to Reproduce:
/tmp/testfolder/file.py
Error: EACCES: permission denied, rename '/tmp/testfolder' -> '/newlocation/testfolder/'
If you attempt to move with windows you will get
It looks like vscode holds onto the lock (if this is correct) of the parent folder of a modified file despite it being closed in WSL. This is not a problem when not using Remote - WSL.
The problem occurs when you rename the folder as well.
Maybe related to microsoft/WSL#1529
Does this issue occur when all extensions are disabled?: Yes/No
Remote - WSL is required to open the remote window.
The text was updated successfully, but these errors were encountered: