diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-m-z/otter-browser.profile | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 1518464b4..e911be93a 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -319,6 +319,7 @@ blacklist ${HOME}/.config/opera-beta | |||
319 | blacklist ${HOME}/.config/orage | 319 | blacklist ${HOME}/.config/orage |
320 | blacklist ${HOME}/.config/org.gabmus.gfeeds.json | 320 | blacklist ${HOME}/.config/org.gabmus.gfeeds.json |
321 | blacklist ${HOME}/.config/org.kde.gwenviewrc | 321 | blacklist ${HOME}/.config/org.kde.gwenviewrc |
322 | blacklist ${HOME}/.config/otter | ||
322 | blacklist ${HOME}/.config/pavucontrol-qt | 323 | blacklist ${HOME}/.config/pavucontrol-qt |
323 | blacklist ${HOME}/.config/pavucontrol.ini | 324 | blacklist ${HOME}/.config/pavucontrol.ini |
324 | blacklist ${HOME}/.config/pcmanfm | 325 | blacklist ${HOME}/.config/pcmanfm |
@@ -821,6 +822,7 @@ blacklist ${HOME}/.cache/Franz | |||
821 | blacklist ${HOME}/.cache/INRIA | 822 | blacklist ${HOME}/.cache/INRIA |
822 | blacklist ${HOME}/.cache/MusicBrainz | 823 | blacklist ${HOME}/.cache/MusicBrainz |
823 | blacklist ${HOME}/.cache/NewsFlashGTK | 824 | blacklist ${HOME}/.cache/NewsFlashGTK |
825 | blacklist ${HOME}/.cache/Otter | ||
824 | blacklist ${HOME}/.cache/QuiteRss | 826 | blacklist ${HOME}/.cache/QuiteRss |
825 | blacklist ${HOME}/.cache/Shortwave | 827 | blacklist ${HOME}/.cache/Shortwave |
826 | blacklist ${HOME}/.cache/Tox | 828 | blacklist ${HOME}/.cache/Tox |
diff --git a/etc/profile-m-z/otter-browser.profile b/etc/profile-m-z/otter-browser.profile new file mode 100644 index 000000000..652b6b7cb --- /dev/null +++ b/etc/profile-m-z/otter-browser.profile | |||
@@ -0,0 +1,59 @@ | |||
1 | # Firejail profile for otter-browser | ||
2 | # Description: Lightweight web browser based on Qt5 | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include otter-browser.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | ?BROWSER_ALLOW_DRM: ignore noexec ${HOME} | ||
10 | |||
11 | noblacklist ${HOME}/.cache/Otter | ||
12 | noblacklist ${HOME}/.config/otter | ||
13 | noblacklist ${HOME}/.pki | ||
14 | noblacklist ${HOME}/.local/share/pki | ||
15 | |||
16 | include disable-common.inc | ||
17 | include disable-devel.inc | ||
18 | include disable-exec.inc | ||
19 | include disable-interpreters.inc | ||
20 | include disable-passwdmgr.inc | ||
21 | include disable-programs.inc | ||
22 | include disable-xdg.inc | ||
23 | |||
24 | mkdir ${HOME}/.cache/Otter | ||
25 | mkdir ${HOME}/.config/otter | ||
26 | mkdir ${HOME}/.pki | ||
27 | mkdir ${HOME}/.local/share/pki | ||
28 | whitelist ${DOWNLOADS} | ||
29 | whitelist ${HOME}/.cache/Otter | ||
30 | whitelist ${HOME}/.config/otter | ||
31 | whitelist ${HOME}/.pki | ||
32 | whitelist ${HOME}/.local/share/pki | ||
33 | whitelist /usr/share/otter-browser | ||
34 | include whitelist-common.inc | ||
35 | include whitelist-runuser-common.inc | ||
36 | include whitelist-usr-share-common.inc | ||
37 | include whitelist-var-common.inc | ||
38 | |||
39 | apparmor | ||
40 | caps.drop all | ||
41 | netfilter | ||
42 | nodvd | ||
43 | nogroups | ||
44 | nonewprivs | ||
45 | noroot | ||
46 | notv | ||
47 | ?BROWSER_DISABLE_U2F: nou2f | ||
48 | protocol unix,inet,inet6,netlink | ||
49 | seccomp !chroot | ||
50 | shell none | ||
51 | |||
52 | disable-mnt | ||
53 | private-bin bash,otter-browser,sh,which | ||
54 | private-cache | ||
55 | ?BROWSER_DISABLE_U2F: private-dev | ||
56 | private-etc alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,group,gtk-2.0,gtk-3.0,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,machine-id,mailcap,mime.types,nsswitch.conf,pango,passwd,pki,pulse,resolv.conf,selinux,ssl,X11,xdg | ||
57 | private-tmp | ||
58 | |||
59 | dbus-system none | ||