Last active
September 12, 2022 22:04
-
-
Save shnam7/dd382a6a4f1ffda51c1536d0c8d32cdb to your computer and use it in GitHub Desktop.
WSL2 configuration - mount options with file mode
This file contains hidden or 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
# /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