[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 15:54:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278204

--- Comment #6 from Emmanuel Vadot <manu@freebsd.org> ---
(In reply to Gleb Popov from comment #5)

I have no idea how all this thing is supposed to work.
A lot of Linux distro use /var/lib/xkb for the compiled stuff, which is why we
made the link to it and why we switch xorg-server to use it directly when we
switched to meson (even if this part wasn't needed).
I don't know which command is supposed to write those keyboard description
files but that's something that a user should be able to do and it's working
now because of the SUID bit. With my patch (and using xwayland too) it also
works as we will fallback to the user XDG_RUNTIME_DIR (and after that on /tmp).

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