diff options
Diffstat (limited to 'qga/main.c')
-rw-r--r-- | qga/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/main.c b/qga/main.c index 1841759db2..44a283686b 100644 --- a/qga/main.c +++ b/qga/main.c @@ -478,7 +478,7 @@ static void become_daemon(const char *pidfile) } } - umask(0); + umask(S_IRWXG | S_IRWXO); sid = setsid(); if (sid < 0) { goto fail; |