aboutsummaryrefslogtreecommitdiffstats
path: root/etc/firefox-common.profile
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2018-02-11 15:27:30 -0500
committerLibravatar Tad <tad@spotco.us>2018-02-11 16:50:52 -0500
commitdf2f568041fd926a217812523399b059bc888233 (patch)
tree462aefab783de40936af472d51f79518ca861d86 /etc/firefox-common.profile
parentupdate various application blacklists (diff)
downloadfirejail-df2f568041fd926a217812523399b059bc888233.tar.gz
firejail-df2f568041fd926a217812523399b059bc888233.tar.zst
firejail-df2f568041fd926a217812523399b059bc888233.zip
Unify all Chromium and Firefox based browser profiles as part of #1773
Diffstat (limited to 'etc/firefox-common.profile')
-rw-r--r--etc/firefox-common.profile85
1 files changed, 85 insertions, 0 deletions
diff --git a/etc/firefox-common.profile b/etc/firefox-common.profile
new file mode 100644
index 000000000..962080c58
--- /dev/null
+++ b/etc/firefox-common.profile
@@ -0,0 +1,85 @@
1# Firejail profile for firefox-common
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/firefox-common.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8noblacklist ${HOME}/.config/okularpartrc
9noblacklist ${HOME}/.config/okularrc
10noblacklist ${HOME}/.config/qpdfview
11noblacklist ${HOME}/.kde/share/apps/kget
12noblacklist ${HOME}/.kde/share/apps/okular
13noblacklist ${HOME}/.kde/share/config/kgetrc
14noblacklist ${HOME}/.kde/share/config/okularpartrc
15noblacklist ${HOME}/.kde/share/config/okularrc
16noblacklist ${HOME}/.kde4/share/apps/kget
17noblacklist ${HOME}/.kde4/share/apps/okular
18noblacklist ${HOME}/.kde4/share/config/kgetrc
19noblacklist ${HOME}/.kde4/share/config/okularpartrc
20noblacklist ${HOME}/.kde4/share/config/okularrc
21# noblacklist ${HOME}/.local/share/gnome-shell/extensions
22noblacklist ${HOME}/.local/share/okular
23noblacklist ${HOME}/.local/share/qpdfview
24noblacklist ${HOME}/.pki
25
26include /etc/firejail/disable-common.inc
27include /etc/firejail/disable-devel.inc
28include /etc/firejail/disable-programs.inc
29
30mkdir ${HOME}/.pki
31whitelist ${DOWNLOADS}
32whitelist ${HOME}/.cache/gnome-mplayer/plugin
33whitelist ${HOME}/.config/gnome-mplayer
34whitelist ${HOME}/.config/okularpartrc
35whitelist ${HOME}/.config/okularrc
36whitelist ${HOME}/.config/pipelight-silverlight5.1
37whitelist ${HOME}/.config/pipelight-widevine
38whitelist ${HOME}/.config/qpdfview
39whitelist ${HOME}/.kde/share/apps/kget
40whitelist ${HOME}/.kde/share/apps/okular
41whitelist ${HOME}/.kde/share/config/kgetrc
42whitelist ${HOME}/.kde/share/config/okularpartrc
43whitelist ${HOME}/.kde/share/config/okularrc
44whitelist ${HOME}/.kde4/share/apps/kget
45whitelist ${HOME}/.kde4/share/apps/okular
46whitelist ${HOME}/.kde4/share/config/kgetrc
47whitelist ${HOME}/.kde4/share/config/okularpartrc
48whitelist ${HOME}/.kde4/share/config/okularrc
49whitelist ${HOME}/.keysnail.js
50whitelist ${HOME}/.lastpass
51whitelist ${HOME}/.local/share/gnome-shell/extensions
52whitelist ${HOME}/.local/share/okular
53whitelist ${HOME}/.local/share/qpdfview
54whitelist ${HOME}/.pentadactyl
55whitelist ${HOME}/.pentadactylrc
56whitelist ${HOME}/.pki
57whitelist ${HOME}/.vimperator
58whitelist ${HOME}/.vimperatorrc
59whitelist ${HOME}/.wine-pipelight
60whitelist ${HOME}/.wine-pipelight64
61whitelist ${HOME}/.zotero
62whitelist ${HOME}/dwhelper
63include /etc/firejail/whitelist-common.inc
64include /etc/firejail/whitelist-var-common.inc
65
66caps.drop all
67# machine-id breaks pulse audio; it should work fine in setups where sound is not required
68#machine-id
69netfilter
70nodvd
71nogroups
72nonewprivs
73noroot
74notv
75protocol unix,inet,inet6,netlink
76seccomp
77shell none
78tracelog
79
80disable-mnt
81private-dev
82private-tmp
83
84noexec ${HOME}
85noexec /tmp