From nobody Tue Apr 09 15:54:28 2024 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VDVrh28fmz5HDM1 for ; Tue, 9 Apr 2024 15:54:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VDVrh15NDz4R0L for ; Tue, 9 Apr 2024 15:54:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712678068; a=rsa-sha256; cv=none; b=Llr9pPnf+/p8ZTpL3ez6YdZuKKG3KV+OXoIAFpC2/igB/QyuQYGdV3aREz5fb2j+KoQDoM FhBg2nFPvuNCZVVCqhLB1nNtoimYa7vu0qLE0+q6YuZB22cidtPljXlK2xR3WmNazBQXyI 2ZPjKaopv3Ph6GDczt9P1f8yTpJrAqfhSDhWM4eRhHbiC37oaxOWhqwoovgANECdm0JkvE NmqbYFlPHSHehb+6uWhHx/K9bk25FlvE2nGQizXGXHGJnvgfse491cjLVFT5I/dyP5j4Vy 4RI6dUQKesOkposLgkKThtVgbqaIkCqulPxwT9ZN/tg8taPxBWX93Ik1uiBPvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712678068; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mU6308xJIgzjY3TaBjboDWr+PdMEXE1a7pES5wiCmnw=; b=ZFKkPsXKE5V4rLArXG7fhyigr7yKk9Kka0725bcWVX9G0adZkuAip73OxTIGWGwWgTOfuS zVHeeZFinsMVT8VUnXuLfLhLcw4Grh9u6VkH9j86tCKs5v0EL9s7wu6pkEOswg4PNC9NKb 3d4Tl93TfLxAcXK+rmB9nm63SysRHYw5tE9aurw+qgFv5Cq1OAtrKxunYYMHmCdnKAfIye lAtGUhvYIpd7pRdPirCDGDh9KhRsszDiIctEFKApQxkIXdax5mmv1m8MdLxumnJAX/LlYV SsV/umIZ9Mu6gNFBg6aQtftrypTZCzYGC0VjfkdDTwpJb8DoZSejE0HC7TxVAg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VDVrh0gXbz11Ly for ; Tue, 9 Apr 2024 15:54:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 439FsRAG085770 for ; Tue, 9 Apr 2024 15:54:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 439FsRmH085768 for x11@FreeBSD.org; Tue, 9 Apr 2024 15:54:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 278204] x11/xkeyboard-config: allow non-root to write into /var/lib/xkb Date: Tue, 09 Apr 2024 15:54:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: manu@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278204 --- Comment #6 from Emmanuel Vadot --- (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 /t= mp). --=20 You are receiving this mail because: You are the assignee for the bug.=