aboutsummaryrefslogtreecommitdiffstats
path: root/etc/discord-common.profile
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2018-05-21 18:08:21 -0400
committerLibravatar Tad <tad@spotco.us>2018-05-21 18:08:21 -0400
commit1e3939289f53fd84c92f57bd3144a0eec2dcf1e3 (patch)
tree065dd015885179a4468febabf787c2d6c7fd193c /etc/discord-common.profile
parentprivate-lib cleanup (diff)
downloadfirejail-1e3939289f53fd84c92f57bd3144a0eec2dcf1e3.tar.gz
firejail-1e3939289f53fd84c92f57bd3144a0eec2dcf1e3.tar.zst
firejail-1e3939289f53fd84c92f57bd3144a0eec2dcf1e3.zip
Fixup Discord profiles
Packagers seem to be all using different names
Diffstat (limited to 'etc/discord-common.profile')
-rw-r--r--etc/discord-common.profile32
1 files changed, 32 insertions, 0 deletions
diff --git a/etc/discord-common.profile b/etc/discord-common.profile
new file mode 100644
index 000000000..5cd8d6bb6
--- /dev/null
+++ b/etc/discord-common.profile
@@ -0,0 +1,32 @@
1# Firejail profile for discord
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/discord-common.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8include /etc/firejail/disable-common.inc
9include /etc/firejail/disable-devel.inc
10include /etc/firejail/disable-passwdmgr.inc
11include /etc/firejail/disable-programs.inc
12
13whitelist ${DOWNLOADS}
14
15caps.drop all
16netfilter
17nodvd
18nogroups
19nonewprivs
20noroot
21notv
22novideo
23protocol unix,inet,inet6,netlink
24seccomp
25
26private-bin sh,xdg-mime,tr,sed,echo,head,cut,xdg-open,grep,egrep
27private-dev
28private-etc fonts,machine-id
29private-tmp
30
31noexec ${HOME}
32noexec /tmp