[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#442879: x11-common: /usr/bin/X drops privileges too early



On Mon, Sep 17, 2007 at 07:04:20PM +0200, Julien Cristau wrote:
> That's not exactly true.  Upstream Xorg allows -config/-xf86config for
> non-root with files under /etc/X11/ (given with a relative path), while
> the Debian wrapper drops privileges when these options are used, without
> looking at their argument.

Btw... while thinking about it... I belive to remember that I once tried
to switch from -xf86config to -config when I switched from XFree to Xorg
but just left it because -config didn't work while -xf86config did.

> Maybe we should change this, but otoh I'm not sure all files under
> /etc/X11/ should be allowed (/etc/X11/Xwrapper.config, e.g., is only
> readable by root).

Well, IMHO it makes sense to allow different conf-files for non-root
users (for me it does :)). I understand that those files should be
supplied or at least be allowed by root, i.e. need to be placed in
/etc/X11. Afaics, Xwrapper.config is the *only* file there non-readable
for users - for whatever reason, since I'm easily able to reconstruct it
by just reading /var/lib/dpkg/info/x11-common.postinst and
/var/cache/debconf/config.dat.


Mario
-- 
Oh Du mein Koenig ... Eine Netzgroesse schrieb mal sinngemaess:
Du musst es so lesen wie ich es meine, nicht so wie ich es schreibe.
Ich meine es natuerlich so, wie Du es schreibst 8--)
                                    O.G. Schwenk - de.comm.chatsystems

Attachment: signature.asc
Description: Digital signature


Reply to: