Created
January 3, 2020 00:06
-
-
Save AlexanderAllen/8c679650c99203b4e1736e68839a659e to your computer and use it in GitHub Desktop.
Apply proper umask on WSL
This file contains 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
# 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