mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
# vim:syntax=apparmor
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2019-2021 Mikhail Morfikov
|
|
#
|
|
# 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
abi <abi/3.0>,
|
|
|
|
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.
|
|
deny owner @{run}/user/[0-9]*/dconf/{,**} rw,
|
|
|
|
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,
|