Created
December 10, 2018 16:37
-
-
Save krimple/24a6f7744bc335edb887995660a10a83 to your computer and use it in GitHub Desktop.
Working wsl.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[automount] | |
enabled = true | |
root = /mnt/ | |
options = "metadata,umask=22,fmask=11" | |
mountFsTab = false | |
[network] | |
generateHosts = true | |
generateResolvConf = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.