From ac2f085d8cb686c2f8d76678fdd70dc6113e1d0b Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 6 Sep 2024 21:40:17 +0100 Subject: [PATCH] feat(abs): add support for keyfile in dconf. fix #460 --- apparmor.d/abstractions/dconf-write | 1 + apparmor.d/abstractions/dconf.d/complete | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 apparmor.d/abstractions/dconf.d/complete diff --git a/apparmor.d/abstractions/dconf-write b/apparmor.d/abstractions/dconf-write index f25e1c3e..41145e51 100644 --- a/apparmor.d/abstractions/dconf-write +++ b/apparmor.d/abstractions/dconf-write @@ -20,6 +20,7 @@ /etc/dconf/** r, owner @{user_config_dirs}/dconf/user r, + owner @{user_config_dirs}/glib-2.0/settings/keyfile rw, owner @{run}/user/@{uid}/dconf/ rw, owner @{run}/user/@{uid}/dconf/user rw, diff --git a/apparmor.d/abstractions/dconf.d/complete b/apparmor.d/abstractions/dconf.d/complete new file mode 100644 index 00000000..108f6b8c --- /dev/null +++ b/apparmor.d/abstractions/dconf.d/complete @@ -0,0 +1,7 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + + owner @{user_config_dirs}/glib-2.0/settings/keyfile r, + +# vim:syntax=apparmor