diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2009-09-29 22:35:06 +0530 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-10-01 19:02:36 +1000 |
commit | 9bc7cbf9c02656982c2525836b5498993f708e02 (patch) | |
tree | d8875f533668cb94284bcd697c48a72e59f3364a /Xi | |
parent | 622fc98fd08aba98369e6933c3ab8c9ff85385d5 (diff) |
xkb: check permissions on XKM_OUTPUT_DIR
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@gentoo.org>
Signed-off-by: RĂ©mi Cardona <remi@gentoo.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi')
0 files changed, 0 insertions, 0 deletions