patches/gdm-26-runtime-dir.diff
author rohinis
Wed, 28 Sep 2011 06:45:48 +0000
branchs11express-2010-11
changeset 22148 0b787dd33e0d
permissions -rw-r--r--
2011-09-28 Rohini S <[email protected]> * base-specs/gdm.spec: Bump to 2.30.7 * patches/gdm-05-default.diff: * patches/gdm-21-xauth.diff: * patches/gdm-24-restart-buttons.diff: * patches/gdm-25-unnamed-union.diff: * patches/gdm-26-expire-dialog.diff: * patches/gdm-26-runtime-dir.diff: * patches/gdm-27-no-warning.diff: * patches/gdm-28-disconnect.diff: * patches/gdm-29-linc-cleanup.diff: * specs/SUNWgnome-display-mgr.spec: Fix CR#7051108

--- gdm-2.30.5/daemon/gdm-welcome-session.c-orig	2010-09-23 16:53:08.941432205 -0500
+++ gdm-2.30.5/daemon/gdm-welcome-session.c	2010-09-23 16:55:45.580327687 -0500
@@ -602,7 +602,7 @@ spawn_child_setup (SpawnChildData *data)
         }
 
         g_debug ("GdmWelcomeSession: Setting up run time dir %s", data->runtime_dir);
-        g_mkdir (data->runtime_dir, 0755);
+        g_mkdir_with_parents (data->runtime_dir, 0755);
         res = chown (data->runtime_dir, pwent->pw_uid, pwent->pw_gid);
         if (res == -1) {
                 g_warning ("GdmWelcomeSession: Error setting owner of run time directory: %s",