diff options
author | George Lebl <jirka@5z.com> | 2001-10-04 20:53:59 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2001-10-04 20:53:59 +0000 |
commit | dd320f4b3b9ff0c164eb2a42d35682ec6a057c6e (patch) | |
tree | 68989a265100a7dd4db883330258e76ff86c9344 | |
parent | 098c75643337609883b53e4b75b0fd042a2f0686 (diff) | |
download | gdm-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-- | ChangeLog | 8 | ||||
-rw-r--r-- | daemon/misc.c | 4 |
2 files changed, 10 insertions, 2 deletions
@@ -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); } } |