aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2017-09-20 12:53:37 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2017-09-20 12:53:37 +0200
commit2b9070a76fc309a4155365520ba47413d9e5b16b (patch)
tree1db68d6260bc09f7d0c8790ce787358fc3951a48 /etc
parentUpdate man page since --private-dev allows disc devices like cdrom (diff)
downloadfirejail-2b9070a76fc309a4155365520ba47413d9e5b16b.tar.gz
firejail-2b9070a76fc309a4155365520ba47413d9e5b16b.tar.zst
firejail-2b9070a76fc309a4155365520ba47413d9e5b16b.zip
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
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-common.inc8
-rw-r--r--etc/geary.profile1
-rw-r--r--etc/thunderbird.profile1
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 @@
2# Persistent customizations should go in a .local file. 2# Persistent customizations should go in a .local file.
3include /etc/firejail/disable-common.local 3include /etc/firejail/disable-common.local
4 4
5# History files and clipboard managers in $HOME 5# History files in $HOME and clipboard managers
6blacklist-nolog ${HOME}/.*_history 6blacklist-nolog ${HOME}/.*_history
7blacklist-nolog ${HOME}/.adobe 7blacklist-nolog ${HOME}/.adobe
8blacklist-nolog ${HOME}/.bash_history 8blacklist-nolog ${HOME}/.cache/greenclip*
9blacklist-nolog ${HOME}/.history 9blacklist-nolog ${HOME}/.history
10blacklist-nolog ${HOME}/.local/share/fish/fish_history 10blacklist-nolog ${HOME}/.local/share/fish/fish_history
11blacklist-nolog ${HOME}/.macromedia 11blacklist-nolog ${HOME}/.macromedia
12blacklist-nolog /tmp/clipmenu* 12blacklist-nolog /tmp/clipmenu*
13blacklist-nolog ${HOME}/.cache/greenclip*
14 13
15# X11 session autostart 14# X11 session autostart
16# blacklist ${HOME}/.xpra - this will kill --x11=xpra cmdline option for all programs 15# blacklist ${HOME}/.xpra - this will kill --x11=xpra cmdline option for all programs
@@ -229,7 +228,6 @@ blacklist ${HOME}/.mutt/muttrc
229blacklist ${HOME}/.muttrc 228blacklist ${HOME}/.muttrc
230blacklist ${HOME}/.netrc 229blacklist ${HOME}/.netrc
231blacklist ${HOME}/.pki 230blacklist ${HOME}/.pki
232blacklist ${HOME}/.password-store
233blacklist ${HOME}/.smbcredentials 231blacklist ${HOME}/.smbcredentials
234blacklist ${HOME}/.ssh 232blacklist ${HOME}/.ssh
235blacklist /etc/group+ 233blacklist /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
14mkdir ~/.gnupg 14mkdir ~/.gnupg
15mkdir ~/.local/share/geary 15mkdir ~/.local/share/geary
16whitelist ~/.gnupg 16whitelist ~/.gnupg
17whitelist ~/.local/share/applications
18whitelist ~/.local/share/geary 17whitelist ~/.local/share/geary
19include /etc/firejail/whitelist-common.inc 18include /etc/firejail/whitelist-common.inc
20 19
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
20whitelist ~/.cache/thunderbird 20whitelist ~/.cache/thunderbird
21whitelist ~/.gnupg 21whitelist ~/.gnupg
22whitelist ~/.icedove 22whitelist ~/.icedove
23whitelist ~/.local/share/applications
24whitelist ~/.thunderbird 23whitelist ~/.thunderbird
25include /etc/firejail/whitelist-common.inc 24include /etc/firejail/whitelist-common.inc
26 25