From f66055fa1ef3eb208666b5ace7b5ab16bf7e8980 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 30 May 2003 20:53:36 +0000 Subject: * Set umask to 0022 on startup. --- src/fix.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/fix.cc b/src/fix.cc index b26f8eb594bf..30303322a141 100644 --- a/src/fix.cc +++ b/src/fix.cc @@ -301,6 +301,8 @@ void printUsage() /* Parse the command-line arguments, call the right operation. */ void run(Strings::iterator argCur, Strings::iterator argEnd) { + umask(0022); + Strings extraArgs; enum { cmdUnknown, cmdInstantiate } command = cmdUnknown; -- cgit 1.4.1