X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fexecute.c;fp=src%2Fexecute.c;h=f07d018a37a29468707f0956fc2e9d3cdea7fc3b;hp=7b2567976d3c40b732d8443be7872d9ec1af7a15;hb=4c12626c8e3491570b395d68380543e10c98ad33;hpb=07f8a4aa49a84ec61513788d5ddf521f3de5a0ba diff --git a/src/execute.c b/src/execute.c index 7b2567976..f07d018a3 100644 --- a/src/execute.c +++ b/src/execute.c @@ -1402,7 +1402,7 @@ fail_parent: void exec_context_init(ExecContext *c) { assert(c); - c->umask = 0002; + c->umask = 0022; c->ioprio = IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, 0); c->cpu_sched_policy = SCHED_OTHER; c->syslog_priority = LOG_DAEMON|LOG_INFO;