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

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

Open
rocosttaa opened this issue Apr 27, 2023 · 3 comments

Comments

@rocosttaa
Copy link

how to solve?

@laggingreflex
Copy link

Duplicates: #150, #159, #168, #182, #191, #199, #200, #205

As per the author, use the latest dev build. Someone has archived it:

https://github.com/Andy1208-lee/LxRunOffline/raw/main/LxRunOffline-v3.5.0-11-gfdab71a-msvc.zip

@DanielDrabik
Copy link

Seems it's not working again. I'm using LxRunOffline from zip file @laggingreflex provided

image

Windows 11 Pro Ver 22H2

@bernardoadribeiro
Copy link

bernardoadribeiro commented Jan 22, 2024

I encountered the same issue and found a solution that worked for me on Windows 11 Home, version 23H2. You can find more details here. Follow these steps:

  1. Temporarily move the ext4.vhdx file to another folder.
    This file is in "C:\Users\{User}\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\" folder.
  2. Execute the following command:
    fsutil file setCaseSensitiveInfo C:\Users\{User}\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ enable
    This command enables case sensitivity. Upon successful execution, you should see a message confirming that case sensitivity has been enabled.
  3. Move the ext4.vhdx file back to its original location.
  4. Finally, execute the command: lxrunoffline move -n Ubuntu -d D:\WSL\Ubuntu again.
    Make sure to replace “Ubuntu” with the name of your distribution and "D:\WSL\Ubuntu" with the destination folder.

I hope this helps! 😄

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

4 participants