about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fix.cc2
1 files changed, 2 insertions, 0 deletions
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;