Skip to content

Instantly share code, notes, and snippets.

@krimple
Created December 10, 2018 16:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krimple/24a6f7744bc335edb887995660a10a83 to your computer and use it in GitHub Desktop.
Save krimple/24a6f7744bc335edb887995660a10a83 to your computer and use it in GitHub Desktop.
Working wsl.conf
[automount]
enabled = true
root = /mnt/
options = "metadata,umask=22,fmask=11"
mountFsTab = false
[network]
generateHosts = true
generateResolvConf = true
@krimple
Copy link
Author

krimple commented Dec 10, 2018

Not having this properly configured wasted two days of my life when setting up a new Windows dev machine.

You must skip the fstab file generated by WSL if you want the permissions to work properly and allow things like yarn and npm to properly access projects on windows volumes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment