From 0e89580dd4f38f641ef53c71db2c244ce1977450 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 22 May 2008 14:23:12 +0000 Subject: [PATCH] Fix problem where files were created world writable by default git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/sbin/xcatd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/sbin/xcatd b/xCAT-server-2.0/sbin/xcatd index a2e8dc232..9ceecc75a 100755 --- a/xCAT-server-2.0/sbin/xcatd +++ b/xCAT-server-2.0/sbin/xcatd @@ -117,7 +117,7 @@ $SIG{PIPE} = sub { die "SIGPIPE $$progname encountered a broken pipe (probably C $progname = \$0; sub daemonize { chdir('/'); - umask 0; + umask 0022; my $pid; defined($pid = xCAT::Utils->xfork) or die "Can't fork: $!"; if ($pid) {