I have created a VHDX (GUID type) file in Windows 10. It is mounted as an NTFS formatted drive with drive letter X:. When I open the bash (Ubuntu on Windows 10/WSL), I am able to
However, when I do ls, i get permission denied for all the files. Also, I am not able to create directory even with sudo. Same problem with chmod, chown, etc.
I have also tried to grant permissions to everyone through icacls in Windows through command line as well as through the GUI.
Updates [Edit] I think the problem is that the way NTFS gets mounted on Windows. The mounted mode is being treated as a read-only mode by the Ubuntu Bash.