aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/straw-viewer.profile
diff options
context:
space:
mode:
authorLibravatar pirate486743186 <okgomdjgbmoij@gmail.com>2021-05-28 13:52:19 +0200
committerLibravatar GitHub <noreply@github.com>2021-05-28 11:52:19 +0000
commit0fd1534952bf9f98d69d5aeee2c0c58d4d59746f (patch)
tree12f417751453b4225f1f6a15802f5c30d0815342 /etc/profile-m-z/straw-viewer.profile
parentMerge pull request #4307 from slowpeek/master (diff)
downloadfirejail-0fd1534952bf9f98d69d5aeee2c0c58d4d59746f.tar.gz
firejail-0fd1534952bf9f98d69d5aeee2c0c58d4d59746f.tar.zst
firejail-0fd1534952bf9f98d69d5aeee2c0c58d4d59746f.zip
reorganizing youtube-viewers (#4128)
* Create youtube-viewers-common.profile * reorganising youtube viewers * rm globals * reorganise youtube viewers * adding pipe-viewer * adding gtk-pipe-viewer * xterm and youtube-dl cache * sort * Update youtube-viewers-common.profile * quiet * quiet * quiet * Update firecfg.config * rm vlc * rm invalid binary * noinput * rm whitelist-runuser-common.inc * rm whitelist-runuser-common.inc * rm whitelist-runuser-common.inc * whitelist-runuser-common.inc
Diffstat (limited to 'etc/profile-m-z/straw-viewer.profile')
-rw-r--r--etc/profile-m-z/straw-viewer.profile51
1 files changed, 4 insertions, 47 deletions
diff --git a/etc/profile-m-z/straw-viewer.profile b/etc/profile-m-z/straw-viewer.profile
index f8108c9d6..d73927f2a 100644
--- a/etc/profile-m-z/straw-viewer.profile
+++ b/etc/profile-m-z/straw-viewer.profile
@@ -1,7 +1,7 @@
1# Firejail profile for straw-viewer 1# Firejail profile for straw-viewer
2# Description: Fork of youtube-viewer acts like an invidious frontend 2# Description: Fork of youtube-viewer acts like an invidious frontend
3quiet
4# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations 5# Persistent local customizations
6include straw-viewer.local 6include straw-viewer.local
7# Persistent global definitions 7# Persistent global definitions
@@ -10,55 +10,12 @@ include globals.local
10noblacklist ${HOME}/.cache/straw-viewer 10noblacklist ${HOME}/.cache/straw-viewer
11noblacklist ${HOME}/.config/straw-viewer 11noblacklist ${HOME}/.config/straw-viewer
12 12
13# Allow lua (blacklisted by disable-interpreters.inc)
14include allow-lua.inc
15
16# Allow perl (blacklisted by disable-interpreters.inc)
17include allow-perl.inc
18
19# Allow python (blacklisted by disable-interpreters.inc)
20include allow-python2.inc
21include allow-python3.inc
22
23include disable-common.inc
24include disable-devel.inc
25include disable-exec.inc
26include disable-interpreters.inc
27include disable-passwdmgr.inc
28include disable-programs.inc
29include disable-xdg.inc
30
31mkdir ${HOME}/.config/straw-viewer 13mkdir ${HOME}/.config/straw-viewer
32mkdir ${HOME}/.cache/straw-viewer 14mkdir ${HOME}/.cache/straw-viewer
33whitelist ${HOME}/.cache/straw-viewer 15whitelist ${HOME}/.cache/straw-viewer
34whitelist ${HOME}/.config/straw-viewer 16whitelist ${HOME}/.config/straw-viewer
35whitelist ${DOWNLOADS}
36include whitelist-common.inc
37include whitelist-usr-share-common.inc
38include whitelist-var-common.inc
39
40apparmor
41caps.drop all
42netfilter
43nodvd
44nogroups
45noinput
46nonewprivs
47noroot
48notv
49nou2f
50novideo
51protocol unix,inet,inet6
52seccomp
53shell none
54tracelog
55 17
56disable-mnt 18private-bin gtk-straw-viewer,straw-viewer
57private-bin bash,ffmpeg,ffprobe,gtk-straw-viewer,mpv,perl,python*,sh,smplayer,straw-viewer,stty,vlc,wget,which,youtube-dl
58private-cache
59private-dev
60private-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
61private-tmp
62 19
63dbus-user none 20# Redirect
64dbus-system none 21include youtube-viewers-common.profile \ No newline at end of file