summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2007-05-11 08:15:49 +0000
committerBrian Cameron <bcameron@src.gnome.org>2007-05-11 08:15:49 +0000
commit960bfdf6476f98322e1c403a3aadf35342cd4983 (patch)
treeb968aede7fdc402da859be7e9b2e4fa9abd35bc4
parent1b9faa0d1afa691e29852ddbe27ead48353c1977 (diff)
downloadgdm-960bfdf6476f98322e1c403a3aadf35342cd4983.tar.gz
Fix gdm_daemon_check_permissions so it updates the permissions for the
2007-05-11 Brian Cameron <brian.cameron@sun.com> * daemon/gdm-daemon-config.c: Fix gdm_daemon_check_permissions so it updates the permissions for the SERV_AUTHDIR directory not the LOGDIR directory. This bug was introduced when the config logic was rewritten. svn path=/trunk/; revision=4912
-rw-r--r--ChangeLog9
-rw-r--r--daemon/gdm-daemon-config.c2
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b00a183f..6a24dce0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-05-11 Brian Cameron <brian.cameron@sun.com>
+
+ * daemon/gdm-daemon-config.c: Fix gdm_daemon_check_permissions
+ so it updates the permissions for the SERV_AUTHDIR directory
+ not the LOGDIR directory. This bug was introduced when the
+ config logic was rewritten.
+
2007-05-10 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: Fix handling of AlwaysLoginCurrentSession and
@@ -2833,7 +2840,7 @@
* acconfig.h, configure.ac, config/Makefile.am, config/PostLogin,
config/gdm.conf.in, daemon/Makefile.am, daemon/gdm.[ch],
- daemon/gdmconfig.c, gui/Makefile.am, gui/greeter/Makeifle.am,
+ daemon/gdmconfig.c, gui/Makefile.am, gui/greeter/Makefile.am,
gui/modules/Makefile.am, gui/modules/dwellmouselistener.c,
gui/modules/keymouselistener.c, utils/Makefile.am: Now support
--with-sysconfsubdir so that GDM can be configured to have
diff --git a/daemon/gdm-daemon-config.c b/daemon/gdm-daemon-config.c
index 36a02851..05e5d52e 100644
--- a/daemon/gdm-daemon-config.c
+++ b/daemon/gdm-daemon-config.c
@@ -2089,7 +2089,7 @@ gdm_daemon_check_permissions (GdmConfig *config,
console_notify = FALSE;
gdm_config_get_bool_for_id (daemon_config, GDM_ID_CONSOLE_NOTIFY, &console_notify);
auth_path = NULL;
- gdm_config_get_string_for_id (config, GDM_ID_LOG_DIR, &auth_path);
+ gdm_config_get_string_for_id (config, GDM_ID_SERV_AUTHDIR, &auth_path);
/* Enter paranoia mode */
check_servauthdir (auth_path, &statbuf);