[PATCH] xkb: check permissions on XKM_OUTPUT_DIR

Peter Hutterer peter.hutterer at who-t.net
Thu Oct 1 02:27:59 PDT 2009


On Thu, Oct 01, 2009 at 09:35:01AM +0200, Rémi Cardona wrote:
> Le 29/09/2009 19:05, Nirbheek Chauhan a écrit :
> > Checking just for root is insufficient since that does not guarantee write/read
> > permissions in XKM_OUTPUT_DIR (for example with sandbox).
> >
> > Check if we can write a file, as well as read it later. Otherwise, invoke the
> > fallback to /tmp
> >
> > Signed-off-by: Nirbheek Chauhan<nirbheek at gentoo.org>
> 
> Signed-off-by: Rémi Cardona <remi at gentoo.org>

Thanks for the patch and review, pushed to master.
Please nominate this for 1.7.1.

Cheers,
  Peter


More information about the xorg-devel mailing list