Skip to content

Instantly share code, notes, and snippets.

@shnam7
Last active September 12, 2022 22:04
Show Gist options
  • Save shnam7/dd382a6a4f1ffda51c1536d0c8d32cdb to your computer and use it in GitHub Desktop.
Save shnam7/dd382a6a4f1ffda51c1536d0c8d32cdb to your computer and use it in GitHub Desktop.
WSL2 configuration - mount options with file mode
# /etc/wsl.conf
[automount]
enabled = true
root = /mnt
options = "metadata,umask=022,fmask=011"
mountFsTab = true
[network]
generateHosts = true
generateResolvConf = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment