From 3d82b71a48c8e5013c4aeed3cd00c7979060c298 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Fri, 27 Jan 2023 18:35:15 -0300 Subject: mutt.profile: stop creating editor/browser paths To reduce the amount of spam created in the user home directory. It's unlikely that these paths are going to be both: * Created only after mutt is first opened through firejail and * Created from within mutt Also, no other profile does that: $ git grep -El '(mkdir|mkfile) \$\{HOME\}/\.(emacs|nano|vim)' -- etc etc/profile-m-z/mutt.profile So just whitelist them if they already exist. Added on commit a8a8e33bc ("Add whitelisting to mutt; improve geary, new profile for neomutt", 2020-12-28) / PR #3849. --- etc/profile-m-z/mutt.profile | 9 --------- 1 file changed, 9 deletions(-) (limited to 'etc') diff --git a/etc/profile-m-z/mutt.profile b/etc/profile-m-z/mutt.profile index a26a25573..7e1849079 100644 --- a/etc/profile-m-z/mutt.profile +++ b/etc/profile-m-z/mutt.profile @@ -55,26 +55,17 @@ mkdir ${HOME}/.Mail mkdir ${HOME}/.bogofilter mkdir ${HOME}/.cache/mutt mkdir ${HOME}/.config/mutt -mkdir ${HOME}/.config/nano -mkdir ${HOME}/.elinks -mkdir ${HOME}/.emacs.d mkdir ${HOME}/.gnupg mkdir ${HOME}/.mail mkdir ${HOME}/.mutt -mkdir ${HOME}/.vim -mkdir ${HOME}/.w3m mkdir ${HOME}/Mail mkdir ${HOME}/mail mkdir ${HOME}/postponed mkdir ${HOME}/sent -mkfile ${HOME}/.emacs mkfile ${HOME}/.mailcap mkfile ${HOME}/.msmtprc mkfile ${HOME}/.muttrc -mkfile ${HOME}/.nanorc mkfile ${HOME}/.signature -mkfile ${HOME}/.viminfo -mkfile ${HOME}/.vimrc whitelist ${DOCUMENTS} whitelist ${DOWNLOADS} whitelist ${HOME}/.Mail -- cgit v1.2.3-70-g09d2