-
Notifications
You must be signed in to change notification settings - Fork 832
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
cmd cannot remove the directory that WSL made #5632
Comments
This is by-design Windows. Those |
@therealkenc |
@therealkenc |
Environment
Steps to reproduce
In mounted file path of windows (such as /mnt/c/Users/test/Documents/testDir) , run
mkdir ...
in WSL, and the a new directory named...
was created.Using right click + delete can delete
...
ortestDir
failed to delete both the directories.Using
rd /s ...
in cmd, terminal showed The process cannot access the file because it is being used by another process.Then I killed wslhost.exe process, run
rd /s ...
in cmd again, terminal showed Cannot Remove folder because the directory is not empty.Expected behavior
Delete directory
...
in windows or cannot create the directory of illegal name in mounted window drives by WSL.Actual behavior
Cannot delete the directory
...
and the directory which contains...
in windows.The text was updated successfully, but these errors were encountered: