[Bug 278204] x11/xkeyboard-config: allow non-root to write into /var/lib/xkb

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 Apr 2024 10:46:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278204

Emmanuel Vadot <manu@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu@freebsd.org
             Status|New                         |In Progress

--- Comment #1 from Emmanuel Vadot <manu@freebsd.org> ---
There seems to be a fallback to XDG_RUNTIME_DIR if this failed :
https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/xkb/ddxLoad.c?ref_type=heads#L73

So I guess that using xkbcomp will use /var/lib/xkb and xwayland will not use
those file ? Shouldn't we use XDG_RUNTIME_DIR everywhere ?

I admit that I'm totally a noob in xkb stuff as I don't use Xorg and also uses
qwerty/us everywhere. I just don't like chmod 1777 without knowing the full
picture.

-- 
You are receiving this mail because:
You are the assignee for the bug.