Create ControlPanel

This commit is contained in:
Besanon 2025-08-12 13:48:05 +02:00 committed by GitHub
parent 44aaf8ecc4
commit 78b3dffe90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,38 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2025 Besanon <m231009ts@mailfence.com>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/ControlPanel
profile ControlPanel @{exec_path} {
include <abstractions/base>
include <abstractions/bus-session>
include <abstractions/bus-accessibility>
include <abstractions/lxqt>
include <abstractions/nameservice-strict>
@{exec_path} mr,
/usr/share/desktop-directories/lxqt-* r,
/etc/xdg/menus/lxqt-config.menu r,
# only for xfe file manager:
owner @{HOME}/.foxrc/ rw,
owner @{HOME}/.foxrc/Desktop rw,
owner @{user_config_dirs}/lxqt/lxqt-config.conf.lock rwk,
owner /tmp/@{int} r,
/dev/pts/@{int} rw,
/dev/tty rw,
include if exists <local/ControlPanel>
}
# vim:syntax=apparmor