mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 16:33:50 +01:00
23 lines
835 B
Plaintext
23 lines
835 B
Plaintext
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2019-2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
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/@{uid}/dconf/{,**} rw,
|
|
|
|
deny owner @{user_config_dirs}/dconf/{,**} rw,
|
|
deny owner @{user_cache_dirs}/dconf/{,**} rw,
|
|
|
|
# When GSETTINGS_BACKEND=keyfile
|
|
deny owner @{user_config_dirs}/glib-2.0/ rw,
|
|
deny owner @{user_config_dirs}/glib-2.0/settings/ rw,
|
|
deny owner @{user_config_dirs}/glib-2.0/settings/keyfile rw,
|
|
deny owner @{user_config_dirs}/glib-2.0/settings/.goutputstream-* rw,
|
|
|
|
include if exists <abstractions/deny-dconf.d> |