2020-09-12 17:19:23 +02:00
|
|
|
# vim:syntax=apparmor
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
2021-01-10 16:35:07 +01:00
|
|
|
# Copyright (C) 2019-2021 Mikhail Morfikov
|
2020-09-12 17:19:23 +02:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
|
|
# License published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
abi <abi/3.0>,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
deny /etc/dconf/{,**} r,
|
|
|
|
|
|
|
|
# When this is blocked, expect lots of the following errors:
|
|
|
|
# dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied.
|
|
|
|
# dconf will not work properly.
|
2020-10-25 10:23:34 +01:00
|
|
|
deny owner @{run}/user/[0-9]*/dconf/{,**} rw,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
deny owner @{HOME}/.config/dconf/{,**} rw,
|
|
|
|
deny owner @{HOME}/.cache/dconf/{,**} rw,
|
|
|
|
|
|
|
|
# When GSETTINGS_BACKEND=keyfile
|
|
|
|
deny owner @{HOME}/.config/glib-2.0/ rw,
|
|
|
|
deny owner @{HOME}/.config/glib-2.0/settings/ rw,
|
|
|
|
deny owner @{HOME}/.config/glib-2.0/settings/keyfile rw,
|
|
|
|
deny owner @{HOME}/.config/glib-2.0/settings/.goutputstream-* rw,
|