Enable flameshot profile

I tested in enforce mode the flameshot profile and
fix a little problem with access resources for this app.

All work OK in Debian Stable.
This commit is contained in:
Jose Maldonado aka Yukiteru 2024-05-09 23:55:05 -04:00 committed by Alex
parent 2b6fb63245
commit 31cb3e962d
2 changed files with 4 additions and 1 deletions

View File

@ -36,10 +36,12 @@ profile flameshot @{exec_path} {
/var/lib/dbus/machine-id r, /var/lib/dbus/machine-id r,
/etc/machine-id r, /etc/machine-id r,
owner @{user_config_dirs}/dconf/user r,
owner @{user_config_dirs}/flameshot/ rw, owner @{user_config_dirs}/flameshot/ rw,
owner @{user_config_dirs}/flameshot/** rwlk -> @{user_config_dirs}/flameshot/**, owner @{user_config_dirs}/flameshot/** rwlk -> @{user_config_dirs}/flameshot/**,
owner @{user_config_dirs}/ibus/bus/@{hex32}-unix-wayland-0 r,
owner @{run}/user/@{uid}/dconf/user rw,
owner @{tmp}/.*/{,s} rw,
owner @{tmp}/*= rw, owner @{tmp}/*= rw,
owner @{tmp}/qipc_{systemsem,sharedmemory}_*@{hex} rw, owner @{tmp}/qipc_{systemsem,sharedmemory}_*@{hex} rw,
owner /dev/shm/#@{int} rw, owner /dev/shm/#@{int} rw,

View File

@ -109,6 +109,7 @@ file-roller complain
firefox-kmozillahelper complain firefox-kmozillahelper complain
firewall-applet attach_disconnected,complain firewall-applet attach_disconnected,complain
firewall-config complain firewall-config complain
flameshot complain
flatpak attach_disconnected,mediate_deleted,complain flatpak attach_disconnected,mediate_deleted,complain
flatpak-app attach_disconnected,mediate_deleted,complain flatpak-app attach_disconnected,mediate_deleted,complain
flatpak-oci-authenticator complain flatpak-oci-authenticator complain