21972665 gdm -simple-greeter does not start with system umask of 027
authorKonrad Karczewski<konrad.karczewski@oracle.com>
Thu, 02 Feb 2017 02:26:14 -0800
changeset 7640 24dba977beb7
parent 7639 c88fbb4b714f
child 7645 52890fa47021
21972665 gdm -simple-greeter does not start with system umask of 027
components/desktop/dbus/files/svc-dbus
--- a/components/desktop/dbus/files/svc-dbus	Thu Feb 02 17:07:46 2017 -0800
+++ b/components/desktop/dbus/files/svc-dbus	Thu Feb 02 02:26:14 2017 -0800
@@ -19,7 +19,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved.
 
 FMRI=svc:/system/dbus:default
 
@@ -39,7 +39,7 @@
 'start')
 	# temporary hacks
 	if [ ! -d /var/run/dbus ]; then
-		mkdir /var/run/dbus
+		mkdir -m 0755 /var/run/dbus
 	fi
 	if [ -f /var/run/dbus/pid ]; then
 		rm -f /var/run/dbus/pid