Skip to content

Instantly share code, notes, and snippets.

@AlexanderAllen
Created January 3, 2020 00:06
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/8c679650c99203b4e1736e68839a659e to your computer and use it in GitHub Desktop.
Save AlexanderAllen/8c679650c99203b4e1736e68839a659e to your computer and use it in GitHub Desktop.
Apply proper umask on WSL
# Note: Bash on Windows does not currently apply umask properly, fix it here.
if [[ "$(umask)" = "0000" ]]; then
umask 0022
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment