aboutsummaryrefslogtreecommitdiffstats
path: root/smtube.profile
diff options
context:
space:
mode:
authorLibravatar PizzaDude <pizzadudedotca@gmail.com>2017-09-03 14:43:24 -0400
committerLibravatar GitHub <noreply@github.com>2017-09-03 14:43:24 -0400
commit933635ee0e22f3d85551470098ccfa12db6a612f (patch)
tree585159943faee9f3c27a6cec6a33e8a8a567575d /smtube.profile
parentfix #1522 (diff)
downloadfirejail-933635ee0e22f3d85551470098ccfa12db6a612f.tar.gz
firejail-933635ee0e22f3d85551470098ccfa12db6a612f.tar.zst
firejail-933635ee0e22f3d85551470098ccfa12db6a612f.zip
firejail profile for smtube
if you think private-bin needs to be there, feel free to edit the profile, and users would need to add their own players via the smtube.local file
Diffstat (limited to 'smtube.profile')
-rw-r--r--smtube.profile34
1 files changed, 34 insertions, 0 deletions
diff --git a/smtube.profile b/smtube.profile
new file mode 100644
index 000000000..f9966793d
--- /dev/null
+++ b/smtube.profile
@@ -0,0 +1,34 @@
1# Firejail profile for smtube
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/smtube.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8noblacklist ${HOME}/.config/smplayer
9noblacklist ${HOME}/.config/smtube
10noblacklist ${HOME}/.config/mpv
11noblacklist ${HOME}/.mplayer
12noblacklist ${HOME}/.config/vlc
13noblacklist ${HOME}/.local/share/vlc
14
15include /etc/firejail/disable-common.inc
16include /etc/firejail/disable-devel.inc
17include /etc/firejail/disable-passwdmgr.inc
18include /etc/firejail/disable-programs.inc
19
20caps.drop all
21netfilter
22# nogroups
23nonewprivs
24noroot
25protocol unix,inet,inet6,netlink
26seccomp
27shell none
28
29#no private-bin because users can add their own players to smtube and that would prevent that
30private-dev
31private-tmp
32
33noexec ${HOME}
34noexec /tmp