oss-sec mailing list archives
Re: X server umask issue
From: Julien Cristau <jcristau () debian org>
Date: Mon, 9 Nov 2009 17:24:35 +0100
On Mon, Nov 9, 2009 at 16:15:47 +0000, Steve Kemp wrote:
On Mon Nov 09, 2009 at 11:09:55 -0500, Josh Bressers wrote:What I am wondering though, are there other files the X server creates that could be an issue for this? I'm not aware of any, but I'm also not an expert by any stretch of the imagination. Am I missing something else?/tmp/.X11-unix/* or /tmp/X0-lock might be worth checking.
The socket is intentionally world-writable, and the lock is created with lfd = open(tmp, O_CREAT | O_EXCL | O_WRONLY, 0644); and later (void) chmod(tmp, 0444); Cheers, Julien
Current thread:
- X server umask issue Josh Bressers (Nov 09)
- Re: X server umask issue Steve Kemp (Nov 09)
- Re: X server umask issue Julien Cristau (Nov 09)
- Re: X server umask issue Florian Weimer (Nov 09)
- Re: X server umask issue Steve Kemp (Nov 09)