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

Reason: Indicates that the directory trying to be deleted is not empty. #159

Closed
Cr1ft opened this issue Dec 22, 2020 · 5 comments
Closed

Comments

@Cr1ft
Copy link

Cr1ft commented Dec 22, 2020

An error was reported when I tried to move the WSL.

[ERROR] Couldn't set the case sensitive attribute of the directory "\?\C:\Users\test\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState".
Reason: Indicates that the directory trying to be deleted is not empty.

@Cr1ft
Copy link
Author

Cr1ft commented Dec 24, 2020

I don't know why Windows doesn't set the LocalState directory to case-sensitive by default.I can move the directory successfully after manually setting it to case-sensitive using Futil.exe.

@Cr1ft Cr1ft closed this as completed Dec 24, 2020
@DDoSolitary
Copy link
Owner

Sorry for the delay. It seems to be the same issue as #150. The fix is committed but not yet released.

@winkee01
Copy link

I am today encountering the same issue, has the fix being committed?

@nour-s
Copy link

nour-s commented Jun 30, 2023

If you are still facing this issue today, just move the ext4.vhdx out of the LocalState folder, run

fsutil file setCaseSensitiveInfo C:\Users\{User}\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ enable

and then move the ext4.vhdx back. Now you can use the LxRunOffline tool as before.

@pangdundun
Copy link

If you are still facing this issue today, just move the ext4.vhdx out of the LocalState folder, run

fsutil file setCaseSensitiveInfo C:\Users\{User}\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ enable

and then move the ext4.vhdx back. Now you can use the LxRunOffline tool as before.

Thanks!

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

No branches or pull requests

5 participants