From 2b9070a76fc309a4155365520ba47413d9e5b16b Mon Sep 17 00:00:00 2001 From: smitsohu Date: Wed, 20 Sep 2017 12:53:37 +0200 Subject: remove some redundancies * ~/.bash_history is already included in ~/.*_history, same file * ~/.password-store is already included in disable-passwdmgr.inc (and not whitelisted in browsers) * ~/.local/share/applications is in whitelist-common.inc since recently --- etc/disable-common.inc | 8 +++----- etc/geary.profile | 1 - etc/thunderbird.profile | 1 - 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/etc/disable-common.inc b/etc/disable-common.inc index ca6ba9710..abce0fe57 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc @@ -2,15 +2,14 @@ # Persistent customizations should go in a .local file. include /etc/firejail/disable-common.local -# History files and clipboard managers in $HOME +# History files in $HOME and clipboard managers blacklist-nolog ${HOME}/.*_history blacklist-nolog ${HOME}/.adobe -blacklist-nolog ${HOME}/.bash_history +blacklist-nolog ${HOME}/.cache/greenclip* blacklist-nolog ${HOME}/.history blacklist-nolog ${HOME}/.local/share/fish/fish_history blacklist-nolog ${HOME}/.macromedia -blacklist-nolog /tmp/clipmenu* -blacklist-nolog ${HOME}/.cache/greenclip* +blacklist-nolog /tmp/clipmenu* # X11 session autostart # blacklist ${HOME}/.xpra - this will kill --x11=xpra cmdline option for all programs @@ -229,7 +228,6 @@ blacklist ${HOME}/.mutt/muttrc blacklist ${HOME}/.muttrc blacklist ${HOME}/.netrc blacklist ${HOME}/.pki -blacklist ${HOME}/.password-store blacklist ${HOME}/.smbcredentials blacklist ${HOME}/.ssh blacklist /etc/group+ diff --git a/etc/geary.profile b/etc/geary.profile index 7878154a6..3ab4a21d8 100644 --- a/etc/geary.profile +++ b/etc/geary.profile @@ -14,7 +14,6 @@ noblacklist ~/.local/share/geary mkdir ~/.gnupg mkdir ~/.local/share/geary whitelist ~/.gnupg -whitelist ~/.local/share/applications whitelist ~/.local/share/geary include /etc/firejail/whitelist-common.inc diff --git a/etc/thunderbird.profile b/etc/thunderbird.profile index 17bf51873..8e878eb1c 100644 --- a/etc/thunderbird.profile +++ b/etc/thunderbird.profile @@ -20,7 +20,6 @@ mkdir ~/.thunderbird whitelist ~/.cache/thunderbird whitelist ~/.gnupg whitelist ~/.icedove -whitelist ~/.local/share/applications whitelist ~/.thunderbird include /etc/firejail/whitelist-common.inc -- cgit v1.2.3-70-g09d2