summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2001-10-04 20:53:59 +0000
committerGeorge Lebl <jirka@src.gnome.org>2001-10-04 20:53:59 +0000
commitdd320f4b3b9ff0c164eb2a42d35682ec6a057c6e (patch)
tree68989a265100a7dd4db883330258e76ff86c9344
parent098c75643337609883b53e4b75b0fd042a2f0686 (diff)
downloadgdm-dd320f4b3b9ff0c164eb2a42d35682ec6a057c6e.tar.gz
Release 2.2.4.2GDM_2_2_4_2
Thu Oct 04 13:19:50 2001 George Lebl <jirka@5z.com> * Release 2.2.4.2 Thu Oct 04 13:18:30 2001 George Lebl <jirka@5z.com> * daemon/misc.c: the mode for sticky 01777 not 02777. Whoops.
-rw-r--r--ChangeLog8
-rw-r--r--daemon/misc.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 03468260..ef1341eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Thu Oct 04 13:19:50 2001 George Lebl <jirka@5z.com>
+
+ * Release 2.2.4.2
+
+Thu Oct 04 13:18:30 2001 George Lebl <jirka@5z.com>
+
+ * daemon/misc.c: the mode for sticky 01777 not 02777. Whoops.
+
Thu Oct 04 00:12:05 2001 George Lebl <jirka@5z.com>
* daemon/misc.c, gui/gdmXnestserver.c: also check stale lock files
diff --git a/daemon/misc.c b/daemon/misc.c
index 327b9be3..351938db 100644
--- a/daemon/misc.c
+++ b/daemon/misc.c
@@ -483,14 +483,14 @@ gdm_ensure_sanity (void)
if (mkdir ("/tmp/.ICE-unix", 0777) == 0) {
/* Make sure it is root */
if (chown ("/tmp/.ICE-unix", 0, 0) == 0)
- chmod ("/tmp/.ICE-unix", 02777);
+ chmod ("/tmp/.ICE-unix", 01777);
} else {
struct stat s;
if (lstat ("/tmp/.ICE-unix", &s) == 0 &&
S_ISDIR (s.st_mode)) {
/* Make sure it is root and sticky */
if (chown ("/tmp/.ICE-unix", 0, 0) == 0)
- chmod ("/tmp/.ICE-unix", 02777);
+ chmod ("/tmp/.ICE-unix", 01777);
}
}