]> git.pld-linux.org Git - packages/gdm2.20.git/blame - gdm-permissions.patch
- downgrade libgnome-devel build requirements, it builds with older version
[packages/gdm2.20.git] / gdm-permissions.patch
CommitLineData
10f7fd69 1diff -ru gdm-2.2.5.4/daemon/gdm.c gdm-2.2.5.4-AX/daemon/gdm.c
2--- gdm-2.2.5.4/daemon/gdm.c Wed Dec 5 05:29:09 2001
3+++ gdm-2.2.5.4-AX/daemon/gdm.c Tue Feb 5 01:21:32 2002
4@@ -579,31 +579,31 @@
5 gdm_fail (_("gdm_config_parse: Authdir %s is not a directory. Aborting."), GdmServAuthDir);
6 }
7
8- if (statbuf.st_uid != GdmUserId || statbuf.st_gid != GdmGroupId) {
9+ if (statbuf.st_uid != 0 || statbuf.st_gid != GdmGroupId) {
10 char *s = g_strdup_printf (_("Server Authorization directory "
11 "(daemon/ServAuthDir) is set to %s "
12 "but is not owned by user %s and group "
13 "%s. Please correct the ownership or "
14 "gdm configuration %s and restart "
15 "gdm."),
16- GdmServAuthDir, GdmUser, GdmGroup,
17+ GdmServAuthDir, "root", GdmGroup,
18 GDM_CONFIG_FILE);
19 gdm_text_message_dialog (s);
20 gdm_fail (_("gdm_config_parse: Authdir %s is not owned by user %s, group %s. Aborting."),
21- GdmServAuthDir, GdmUser, GdmGroup);
22+ GdmServAuthDir, "root", GdmGroup);
23 }
24
25- if (statbuf.st_mode != (S_IFDIR|S_IRWXU|S_IRGRP|S_IXGRP)) {
26+ if (statbuf.st_mode != (S_IFDIR|S_IRWXU|S_IRWXG)) {
27 char *s = g_strdup_printf (_("Server Authorization directory "
28 "(daemon/ServAuthDir) is set to %s "
29 "but has the wrong permissions, it "
30- "should have permissions of 0750."
31+ "should have permissions of 0770."
32 "Please correct the permissions or "
33 "the gdm configuration %s and "
34 "restart gdm."),
35 GdmServAuthDir, GDM_CONFIG_FILE);
36 gdm_text_message_dialog (s);
37- gdm_fail (_("gdm_config_parse: Authdir %s has wrong permissions %o. Should be 0750. Aborting."),
38+ gdm_fail (_("gdm_config_parse: Authdir %s has wrong permissions %o. Should be 0770. Aborting."),
39 GdmServAuthDir, statbuf.st_mode);
40 }
41
This page took 0.07585 seconds and 4 git commands to generate.