diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/waterfox.profile | |
parent | merges (diff) | |
parent | Unify last 8 profiles (diff) | |
download | firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.gz firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.zst firejail-e24b15f8647997dbb26a7152c921af94e36294ce.zip |
Merge pull request #1427 from SpotComms/pr
Unify all profiles
Diffstat (limited to 'etc/waterfox.profile')
-rw-r--r-- | etc/waterfox.profile | 94 |
1 files changed, 44 insertions, 50 deletions
diff --git a/etc/waterfox.profile b/etc/waterfox.profile index ff2ede8f9..893d45719 100644 --- a/etc/waterfox.profile +++ b/etc/waterfox.profile | |||
@@ -1,75 +1,69 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for waterfox |
2 | include /etc/firejail/globals.local | 2 | # This file is overwritten after every install/update |
3 | 3 | # Persistent local customizations | |
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/waterfox.local | 4 | include /etc/firejail/waterfox.local |
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | 7 | ||
8 | # Firejail profile for Waterfox (based on Mozilla Firefox) | ||
9 | noblacklist ~/.mozilla | ||
10 | noblacklist ~/.cache/mozilla | 8 | noblacklist ~/.cache/mozilla |
9 | noblacklist ~/.config/okularpartrc | ||
10 | noblacklist ~/.config/okularrc | ||
11 | noblacklist ~/.config/qpdfview | 11 | noblacklist ~/.config/qpdfview |
12 | noblacklist ~/.local/share/qpdfview | ||
13 | noblacklist ~/.kde4/share/apps/okular | ||
14 | noblacklist ~/.kde/share/apps/okular | 12 | noblacklist ~/.kde/share/apps/okular |
13 | noblacklist ~/.kde4/share/apps/okular | ||
15 | noblacklist ~/.local/share/okular | 14 | noblacklist ~/.local/share/okular |
16 | noblacklist ~/.config/okularpartrc | 15 | noblacklist ~/.local/share/qpdfview |
17 | noblacklist ~/.config/okularrc | 16 | noblacklist ~/.mozilla |
18 | noblacklist ~/.pki | 17 | noblacklist ~/.pki |
19 | 18 | ||
20 | include /etc/firejail/disable-common.inc | 19 | include /etc/firejail/disable-common.inc |
21 | include /etc/firejail/disable-programs.inc | ||
22 | include /etc/firejail/disable-devel.inc | 20 | include /etc/firejail/disable-devel.inc |
21 | include /etc/firejail/disable-programs.inc | ||
23 | 22 | ||
24 | caps.drop all | ||
25 | # ipc-namespace crashes waterfox on some setups | ||
26 | netfilter | ||
27 | nogroups | ||
28 | nonewprivs | ||
29 | noroot | ||
30 | protocol unix,inet,inet6,netlink | ||
31 | seccomp | ||
32 | shell none | ||
33 | tracelog | ||
34 | |||
35 | whitelist ${DOWNLOADS} | ||
36 | mkdir ~/.mozilla | ||
37 | whitelist ~/.mozilla | ||
38 | mkdir ~/.cache/mozilla/firefox | 23 | mkdir ~/.cache/mozilla/firefox |
24 | mkdir ~/.mozilla | ||
25 | mkdir ~/.pki | ||
26 | whitelist ${DOWNLOADS} | ||
27 | whitelist ~/.cache/gnome-mplayer/plugin | ||
39 | whitelist ~/.cache/mozilla/firefox | 28 | whitelist ~/.cache/mozilla/firefox |
40 | whitelist ~/dwhelper | ||
41 | whitelist ~/.zotero | ||
42 | whitelist ~/.vimperatorrc | ||
43 | whitelist ~/.vimperator | ||
44 | whitelist ~/.pentadactylrc | ||
45 | whitelist ~/.pentadactyl | ||
46 | whitelist ~/.keysnail.js | ||
47 | whitelist ~/.config/gnome-mplayer | 29 | whitelist ~/.config/gnome-mplayer |
48 | whitelist ~/.cache/gnome-mplayer/plugin | ||
49 | mkdir ~/.pki | ||
50 | whitelist ~/.pki | ||
51 | whitelist ~/.lastpass | ||
52 | whitelist ~/.config/qpdfview | ||
53 | whitelist ~/.local/share/qpdfview | ||
54 | whitelist ~/.config/okularrc | ||
55 | whitelist ~/.config/okularpartrc | 30 | whitelist ~/.config/okularpartrc |
56 | whitelist ~/.kde4/share/apps/okular | 31 | whitelist ~/.config/okularrc |
32 | whitelist ~/.config/pipelight-silverlight5.1 | ||
33 | whitelist ~/.config/pipelight-widevine | ||
34 | whitelist ~/.config/qpdfview | ||
57 | whitelist ~/.kde/share/apps/okular | 35 | whitelist ~/.kde/share/apps/okular |
36 | whitelist ~/.kde4/share/apps/okular | ||
37 | whitelist ~/.keysnail.js | ||
38 | whitelist ~/.lastpass | ||
58 | whitelist ~/.local/share/okular | 39 | whitelist ~/.local/share/okular |
59 | 40 | whitelist ~/.local/share/qpdfview | |
60 | # silverlight | 41 | whitelist ~/.mozilla |
42 | whitelist ~/.pentadactyl | ||
43 | whitelist ~/.pentadactylrc | ||
44 | whitelist ~/.pki | ||
45 | whitelist ~/.vimperator | ||
46 | whitelist ~/.vimperatorrc | ||
61 | whitelist ~/.wine-pipelight | 47 | whitelist ~/.wine-pipelight |
62 | whitelist ~/.wine-pipelight64 | 48 | whitelist ~/.wine-pipelight64 |
63 | whitelist ~/.config/pipelight-widevine | 49 | whitelist ~/.zotero |
64 | whitelist ~/.config/pipelight-silverlight5.1 | 50 | whitelist ~/dwhelper |
65 | |||
66 | include /etc/firejail/whitelist-common.inc | 51 | include /etc/firejail/whitelist-common.inc |
67 | 52 | ||
68 | # experimental features | 53 | caps.drop all |
69 | #private-bin waterfox,which,sh,dbus-launch,dbus-send,env | 54 | netfilter |
70 | #private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,waterfox,mime.types,mailcap,asound.conf,pulse | 55 | nogroups |
71 | # private-dev might prevent video calls going out | 56 | nonewprivs |
57 | noroot | ||
58 | protocol unix,inet,inet6,netlink | ||
59 | seccomp | ||
60 | shell none | ||
61 | tracelog | ||
62 | |||
63 | # private-bin waterfox,which,sh,dbus-launch,dbus-send,env | ||
72 | private-dev | 64 | private-dev |
65 | # private-dev might prevent video calls going out | ||
66 | # private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,waterfox,mime.types,mailcap,asound.conf,pulse | ||
73 | private-tmp | 67 | private-tmp |
74 | 68 | ||
75 | noexec ${HOME} | 69 | noexec ${HOME} |