Skip to content

Instantly share code, notes, and snippets.

@AlexanderAllen
Created January 3, 2020 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexanderAllen/47b1bc18cfced9344d89183216d3ffcc to your computer and use it in GitHub Desktop.
Save AlexanderAllen/47b1bc18cfced9344d89183216d3ffcc to your computer and use it in GitHub Desktop.
/etc/wsl.conf
# Save this into /etc/wsl.conf
# You will need sudo permissions setup in WSL.
# sudo vi /etc/wsl.conf
[automount]
enabled=true
# Mount root to /drive/ instead of /mnt/drive for docker compatibility.
root=/
# Unsets (unmasks) -wx bits for group/other so perms don't show up as 777 on WSL.
options="metadata,umask=22,fmask=11"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment