2

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

cd /mnt/x

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.

https://i.stack.imgur.com/OpQ6D.png

https://i.stack.imgur.com/2vlOI.png


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.