2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

Allow write access to /run/user/*/dconf/user

Gtk applications like Firefox request write access to the file
`/run/user/1000/dconf/user`. The code in `dconf_shm_open` opens the file
with `O_RDWR | O_CREAT`.

4057f8c84f/shm/dconf-shm.c (L68)
(cherry picked from commit 318fb30446)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Jörg Sommer
2021-09-16 09:33:53 +02:00
committed by John Johansen
parent 320a2a5155
commit ab15e29654

View File

@@ -6,7 +6,8 @@
# be specified in a specific application's profile.
@{etc_ro}/dconf/** r,
owner @{run}/user/*/dconf/user r,
# TODO: make w conditional when an override is available, so it can be moved to a portal.
owner @{run}/user/*/dconf/user rw,
owner @{HOME}/.config/dconf/user r,
# Include additions to the abstraction