diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-01 16:13:28 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-01 16:13:28 +0200 |
commit | cc7e8323f229bc39196e6d05e56a2a00b7786628 (patch) | |
tree | 2aae1046026228422f4410328c0ee4e2f10a6a4d /etc/misc | |
parent | 2c4f7ce6805b36aa61be751dbbd49b9811267cf6 (diff) |
misc: Set more permissive umask when root
Diffstat (limited to 'etc/misc')
-rw-r--r-- | etc/misc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ ## vim:ft=zsh # misc mesg n -umask 077 +if ((UID)) { + umask 077 +} else { + umask 002 +} chpwd |