# HG changeset patch # User Mikael Berthe # Date 1474564689 -7200 # Node ID 89707240553f5d06f9bd58ae89e4fa76a023fd97 # Parent c6d405e0684bf1ffc6a7262add84a28a7bb4c100 Change default umask for non-root user diff -r c6d405e0684b -r 89707240553f zshrc.d/10-shell-options.zrc --- a/zshrc.d/10-shell-options.zrc Sun Feb 28 17:06:21 2016 +0100 +++ b/zshrc.d/10-shell-options.zrc Thu Sep 22 19:18:09 2016 +0200 @@ -65,8 +65,4 @@ ulimit -c 0 # File/directory masks -if [[ $UID -eq 0 ]]; then - umask 022 -else - umask 002 -fi +umask 022