aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/straw-viewer.profile
diff options
context:
space:
mode:
authorLibravatar kortewegdevries <kortewegdevries@protonmail.ch>2020-11-18 16:52:22 +0000
committerLibravatar GitHub <noreply@github.com>2020-11-18 16:52:22 +0000
commitddb9194f8152ef16e3a1e678a976dc7aca10b066 (patch)
tree4ad10be11c975a5976ed5abd8e35e45598c32e39 /etc/profile-m-z/straw-viewer.profile
parentMerge pull request #3757 from rusty-snake/overrides2upstream (diff)
downloadfirejail-ddb9194f8152ef16e3a1e678a976dc7aca10b066.tar.gz
firejail-ddb9194f8152ef16e3a1e678a976dc7aca10b066.tar.zst
firejail-ddb9194f8152ef16e3a1e678a976dc7aca10b066.zip
Add profile for straw-viewer (#3742)
* Add profile for straw-viewer * Remove blacklist, fixes
Diffstat (limited to 'etc/profile-m-z/straw-viewer.profile')
-rw-r--r--etc/profile-m-z/straw-viewer.profile58
1 files changed, 58 insertions, 0 deletions
diff --git a/etc/profile-m-z/straw-viewer.profile b/etc/profile-m-z/straw-viewer.profile
new file mode 100644
index 000000000..721ad38ee
--- /dev/null
+++ b/etc/profile-m-z/straw-viewer.profile
@@ -0,0 +1,58 @@
1# Firejail profile for straw-viewer
2# Description: Fork of youtube-viewer acts like an invidious frontend
3quiet
4# This file is overwritten after every install/update
5# Persistent local customizations
6include straw-viewer.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${HOME}/.cache/straw-viewer
11noblacklist ${HOME}/.config/straw-viewer
12
13include allow-lua.inc
14include allow-perl.inc
15include allow-python2.inc
16include allow-python3.inc
17
18include disable-common.inc
19include disable-devel.inc
20include disable-exec.inc
21include disable-interpreters.inc
22include disable-passwdmgr.inc
23include disable-programs.inc
24include disable-xdg.inc
25
26mkdir ${HOME}/.config/straw-viewer
27mkdir ${HOME}/.cache/straw-viewer
28whitelist ${HOME}/.cache/straw-viewer
29whitelist ${HOME}/.config/straw-viewer
30whitelist ${DOWNLOADS}
31include whitelist-common.inc
32include whitelist-usr-share-common.inc
33include whitelist-var-common.inc
34
35apparmor
36caps.drop all
37netfilter
38nodvd
39nogroups
40nonewprivs
41noroot
42notv
43nou2f
44novideo
45protocol unix,inet,inet6
46seccomp
47shell none
48tracelog
49
50disable-mnt
51private-bin bash,ffmpeg,ffprobe,gtk-straw-viewer,mpv,perl,python*,sh,smplayer,straw-viewer,stty,vlc,wget,which,youtube-dl
52private-cache
53private-dev
54private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,machine-id,mime.types,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl,X11,xdg
55private-tmp
56
57dbus-user none
58dbus-system none