
See the WSL blog post on File System Support: In earlier iterations of Windows Subsystem for Linux, the Ubuntu file system was at %localappdata%\Lxss (e.g., C:\Users\Username\AppData\Local\Lxss - replace the Username with your Username on Windows). For example:Ĭ:\Users\\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState - benhillisįor WSL2 you can access to home directory from windows (Windows 10 build 18342) like this : \\wsl$ It's important to note that if you're taking ownership of a folder, you can check the Replace all existing inheritable permissions on all descendants with inheritable permissions for this object option in the Advanced Security Settings page to replace the subfolders permissions with the settings from the parent folder.For Ubuntu installed from the Windows store:Įach distribution you install through the store is installed to thatĪpplication's appdata directory.


On the "Advanced Security Settings" page, you need to click the Change link, in the Owner's field.

Click the Security tab to access the NTFS permissions.Browse and find the file or folder you want to have full access.VPN Deals: Lifetime license for $16, monthly plans at $1 & more How to take ownership of files and folders
