aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar kortewegdevries <62639087+kortewegdevries@users.noreply.github.com>2020-08-04 07:53:50 +0000
committerLibravatar GitHub <noreply@github.com>2020-08-04 07:53:50 +0000
commit4aa622625f578cecd142cefc9c69bc9a48259087 (patch)
tree862013eaa9f1e2e02c6d91824bcfa258f487cc07 /etc
parentdon't run with closed standard streams (diff)
downloadfirejail-4aa622625f578cecd142cefc9c69bc9a48259087.tar.gz
firejail-4aa622625f578cecd142cefc9c69bc9a48259087.tar.zst
firejail-4aa622625f578cecd142cefc9c69bc9a48259087.zip
Add profile for otter-browser (#3564)
* Add profile for otter-browser Initial * private-bin,sorting
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-programs.inc2
-rw-r--r--etc/profile-m-z/otter-browser.profile59
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
319blacklist ${HOME}/.config/orage 319blacklist ${HOME}/.config/orage
320blacklist ${HOME}/.config/org.gabmus.gfeeds.json 320blacklist ${HOME}/.config/org.gabmus.gfeeds.json
321blacklist ${HOME}/.config/org.kde.gwenviewrc 321blacklist ${HOME}/.config/org.kde.gwenviewrc
322blacklist ${HOME}/.config/otter
322blacklist ${HOME}/.config/pavucontrol-qt 323blacklist ${HOME}/.config/pavucontrol-qt
323blacklist ${HOME}/.config/pavucontrol.ini 324blacklist ${HOME}/.config/pavucontrol.ini
324blacklist ${HOME}/.config/pcmanfm 325blacklist ${HOME}/.config/pcmanfm
@@ -821,6 +822,7 @@ blacklist ${HOME}/.cache/Franz
821blacklist ${HOME}/.cache/INRIA 822blacklist ${HOME}/.cache/INRIA
822blacklist ${HOME}/.cache/MusicBrainz 823blacklist ${HOME}/.cache/MusicBrainz
823blacklist ${HOME}/.cache/NewsFlashGTK 824blacklist ${HOME}/.cache/NewsFlashGTK
825blacklist ${HOME}/.cache/Otter
824blacklist ${HOME}/.cache/QuiteRss 826blacklist ${HOME}/.cache/QuiteRss
825blacklist ${HOME}/.cache/Shortwave 827blacklist ${HOME}/.cache/Shortwave
826blacklist ${HOME}/.cache/Tox 828blacklist ${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
5include otter-browser.local
6# Persistent global definitions
7include globals.local
8
9?BROWSER_ALLOW_DRM: ignore noexec ${HOME}
10
11noblacklist ${HOME}/.cache/Otter
12noblacklist ${HOME}/.config/otter
13noblacklist ${HOME}/.pki
14noblacklist ${HOME}/.local/share/pki
15
16include disable-common.inc
17include disable-devel.inc
18include disable-exec.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22include disable-xdg.inc
23
24mkdir ${HOME}/.cache/Otter
25mkdir ${HOME}/.config/otter
26mkdir ${HOME}/.pki
27mkdir ${HOME}/.local/share/pki
28whitelist ${DOWNLOADS}
29whitelist ${HOME}/.cache/Otter
30whitelist ${HOME}/.config/otter
31whitelist ${HOME}/.pki
32whitelist ${HOME}/.local/share/pki
33whitelist /usr/share/otter-browser
34include whitelist-common.inc
35include whitelist-runuser-common.inc
36include whitelist-usr-share-common.inc
37include whitelist-var-common.inc
38
39apparmor
40caps.drop all
41netfilter
42nodvd
43nogroups
44nonewprivs
45noroot
46notv
47?BROWSER_DISABLE_U2F: nou2f
48protocol unix,inet,inet6,netlink
49seccomp !chroot
50shell none
51
52disable-mnt
53private-bin bash,otter-browser,sh,which
54private-cache
55?BROWSER_DISABLE_U2F: private-dev
56private-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
57private-tmp
58
59dbus-system none