Skip to content

Instantly share code, notes, and snippets.

@dsolodow
Last active May 8, 2022 19:21
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 dsolodow/1004882b4907bc3e2cc0ec0aedb903e4 to your computer and use it in GitHub Desktop.
Save dsolodow/1004882b4907bc3e2cc0ec0aedb903e4 to your computer and use it in GitHub Desktop.
wsl.conf; requires Windows 10 build 17063 or higher
# https://blogs.msdn.microsoft.com/commandline/2018/01/12/chmod-chown-wsl-improvements/
# Enable extra metadata options by default
[automount]
enabled = true
root = /mnt/
options = "case=off,metadata,umask=22,fmask=11"
mountFsTab = false
options = case=off
# Enable DNS – even though these are turned on by default, we’ll specify here just to be explicit.
[network]
generateHosts = true
generateResolvConf = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment