MJN All Blog Cheatsheets Elasticsearch GCP JS LinuxBash Misc Notes Other ShortcutKeys / - Search

Home / Other / WSL / WSL Allow chmod On Windows Folders


Create or edit a file named /etc/wsl.conf and edit it to contain the following. Note I also move the mount point of the windows C drive from /mnt/c to /c.

[automount]
enabled = true
root = /
options = "metadata,umask=22,fmask=11"

Reboot WSL

wsl.exe --shutdown

This page was generated by GitHub Pages. Page last modified: 20/09/07 14:07