diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c index 0343a90..71d273a 100644 --- a/dbus/dbus-sysdeps-util-unix.c +++ b/dbus/dbus-sysdeps-util-unix.c @@ -121,9 +121,10 @@ _dbus_become_daemon (const DBusString *pidfile, _dbus_verbose ("keeping stderr open due to DBUS_DEBUG_OUTPUT\n"); } - /* Get a predictable umask */ - _dbus_verbose ("setting umask\n"); - umask (022); + /* Don't change the umask since that may have + * undesirable effects on child processes. See: + * https://bugs.freedesktop.org/show_bug.cgi?id=15635 + */ _dbus_verbose ("calling setsid()\n"); if (setsid () == -1)