From cc7e8323f229bc39196e6d05e56a2a00b7786628 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 1 Jun 2009 16:13:28 +0200 Subject: misc: Set more permissive umask when root --- etc/misc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc/misc') 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 -- cgit v1.2.3