From 89240929e9bc55a1b671766874a27af5251b369e Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 21 Sep 2024 13:19:35 +0100 Subject: [PATCH] feat(profile): thunderbird: allow to open attachment. --- apparmor.d/groups/gnome/gnome-calendar | 2 ++ apparmor.d/profiles-s-z/thunderbird | 1 + 2 files changed, 3 insertions(+) diff --git a/apparmor.d/groups/gnome/gnome-calendar b/apparmor.d/groups/gnome/gnome-calendar index c74292f4..2db321ba 100644 --- a/apparmor.d/groups/gnome/gnome-calendar +++ b/apparmor.d/groups/gnome/gnome-calendar @@ -44,6 +44,8 @@ profile gnome-calendar @{exec_path} { /usr/share/evolution-data-server/{,**} r, /usr/share/libgweather/Locations.xml r, + owner @{tmp}/pid-@{pid}/*.ics r, + include if exists } diff --git a/apparmor.d/profiles-s-z/thunderbird b/apparmor.d/profiles-s-z/thunderbird index 208c581d..a9490c6f 100644 --- a/apparmor.d/profiles-s-z/thunderbird +++ b/apparmor.d/profiles-s-z/thunderbird @@ -54,6 +54,7 @@ profile thunderbird @{exec_path} { owner @{tmp}/MozillaMailnews/*.msf rw, owner @{tmp}/nsemail.eml rw, owner @{tmp}/nsma rw, + owner @{tmp}/pid-@{pid}/{,**} w, # Silencer deny capability sys_ptrace,