From e1e2ef3023643fa055ccbd87a2d8a04962acf2f1 Mon Sep 17 00:00:00 2001 From: doublez13 Date: Fri, 2 Feb 2024 15:37:14 -0700 Subject: [PATCH] Simplify read access to /usr/share/mutt --- apparmor.d/profiles-m-r/mutt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apparmor.d/profiles-m-r/mutt b/apparmor.d/profiles-m-r/mutt index ac5d44ee8..e18951f1d 100644 --- a/apparmor.d/profiles-m-r/mutt +++ b/apparmor.d/profiles-m-r/mutt @@ -23,10 +23,10 @@ profile mutt @{exec_path} { @{exec_path} mr, # Mutt config files - /usr/{local/,}share/mutt/Muttrc r, - /etc/{mutt/,}Muttrc r, - owner @{HOME}/.mutt/** r, - owner @{HOME}/.muttrc* r, + /usr/share/mutt/** r, + /etc/{mutt/,}Muttrc r, + owner @{HOME}/.mutt/** r, + owner @{HOME}/.muttrc* r, owner @{HOME}/.cache/mutt rwk, @@ -77,7 +77,6 @@ profile mutt @{exec_path} { # Mutt mailcap search path owner @{HOME}/.mailcap r, - /usr/share/mutt/mailcap r, /etc/{mutt/,}mailcap r, /usr/{local/,}etc/mailcap r,