apparmor.d/apparmor.d/groups/lxqt/obconf-qt
2024-06-07 09:30:48 +02:00

47 lines
1.2 KiB
Text

# 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/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/obconf-qt
profile obconf-qt @{exec_path} {
include <abstractions/base>
include <abstractions/dconf-write>
include <abstractions/gtk>
include <abstractions/graphics>
include <abstractions/fonts>
include <abstractions/fontconfig-cache-read>
include <abstractions/lxqt>
include <abstractions/qt5-shader-cache>
include <abstractions/freedesktop.org>
include <abstractions/nameservice-strict>
include <abstractions/user-download-strict>
@{exec_path} mr,
/usr/share/obconf/{,*} r,
/usr/share/ibus/setup/{,**} rw,
/usr/share/obconf-qt/translations/obconf-qt_de.qm r,
/etc/xdg/openbox/rc.xml r,
/etc/fstab r,
owner @{HOME}/.themes/{,**} r,
owner @{user_config_dirs}/openbox/rc.xml rw,
owner @{user_config_dirs}/openbox/{,**} rw,
owner /tmp/{,**} r,
owner @{PROC}/@{pid}/mountinfo r,
owner @{PROC}/@{pid}/mounts r,
/dev/dri/card@{int} rw,
owner /dev/tty@{int} rw,
include if exists <local/obconf-qt>
}