summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/misc6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/misc b/etc/misc
index ecbed31..e115cd6 100644
--- a/etc/misc
+++ b/etc/misc
@@ -1,5 +1,9 @@
## vim:ft=zsh
# misc
mesg n
-umask 077
+if ((UID)) {
+ umask 077
+} else {
+ umask 002
+}
chpwd