Dolphin updates

Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
This commit is contained in:
Jeroen Rijken 2024-02-18 17:29:13 +01:00 committed by Alex
parent 7fa4113131
commit 640cf9e1d3
2 changed files with 34 additions and 1 deletions

View file

@ -10,6 +10,9 @@ include <tunables/global>
profile dolphin @{exec_path} {
include <abstractions/base>
include <abstractions/app-launcher-user>
include <abstractions/bus-session>
include <abstractions/bus-system>
include <abstractions/bus/org.freedesktop.UDisks2>
include <abstractions/deny-sensitive-home>
include <abstractions/devices-usb>
include <abstractions/graphics>
@ -36,12 +39,15 @@ profile dolphin @{exec_path} {
/etc/xdg/arkrc r,
/etc/xdg/dolphinrc r,
/etc/xdg/menus/ r,
/etc/xdg/menus/applications-merged/ r,
/etc/xdg/ui/ui_standards.rc r,
# Full access to user's data
/ r,
owner @{HOME}/{,**} rw,
/var/lib/flatpak/exports/share/mime/ r,
# Silence non user's data
deny /boot/{,**} r,
deny /opt/{,**} r,
@ -74,7 +80,9 @@ profile dolphin @{exec_path} {
owner @{PROC}/@{pid}/mountinfo r,
owner @{PROC}/@{pid}/mounts r,
@{sys}/devices/virtual/block/dm-0/uevent r,
/dev/tty r,
include if exists <local/dolphin>
}
}