mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-11 04:35:12 +01:00
Create lxqt-config-locale
This commit is contained in:
parent
3abe61d007
commit
08a2987d35
1 changed files with 40 additions and 0 deletions
40
apparmor.d/groups/lxqt/lxqt-config-locale
Normal file
40
apparmor.d/groups/lxqt/lxqt-config-locale
Normal file
|
@ -0,0 +1,40 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2024 Besanon <m231009ts@mailfence.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/lxqt-config-locale
|
||||
profile lxqt-config-locale @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/lxqt>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/machine-id r,
|
||||
|
||||
owner @{user_config_dirs}/lxqt/* r,
|
||||
owner @{user_config_dirs}/lxqt/#@{int} rw,
|
||||
owner @{user_config_dirs}/lxqt/lxqt-config.conf.lock rwk,
|
||||
owner @{user_config_dirs}/lxqt/lxqt-config.conf.@{rand6} rw,
|
||||
owner @{user_config_dirs}/lxqt/lxqt-config.conf.@{rand6} l -> @{user_config_dirs}/lxqt/#@{int},
|
||||
owner @{user_config_dirs}/lxqt/lxqt-config-locale.conf l -> @{user_config_dirs}/lxqt/#@{int},
|
||||
owner @{user_config_dirs}/lxqt/lxqt-config-locale.conf.@{rand6} rw,
|
||||
owner @{user_config_dirs}/lxqt/lxqt-config-locale.conf.@{rand6} l -> @{user_config_dirs}/lxqt/#@{int},
|
||||
owner @{user_config_dirs}/lxqt/lxqt-config-locale.conf.lock rwk,
|
||||
owner @{user_config_dirs}/lxqt/session.conf.lock rwk,
|
||||
owner @{user_config_dirs}/lxqt/session.conf.@{rand6} rw,
|
||||
owner @{user_config_dirs}/lxqt/session.conf.@{rand6} l -> @{user_config_dirs}/lxqt/#@{int},
|
||||
|
||||
owner /tmp/@{int} r,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
include if exists <local/lxqt-config-locale>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
Loading…
Reference in a new issue