Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Apply proper umask on WSL
# Note: Bash on Windows does not currently apply umask properly, fix it here.
if [[ "$(umask)" = "0000" ]]; then
umask 0022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.