aboutsummaryrefslogtreecommitdiff
path: root/src/fix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fix.cc')
-rw-r--r--src/fix.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fix.cc b/src/fix.cc
index b26f8eb59..30303322a 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;