[PATCH] xkb: check permissions on XKM_OUTPUT_DIR

Rémi Cardona remi at gentoo.org
Thu Oct 1 00:35:01 PDT 2009


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>

Cheers


More information about the xorg-devel mailing list