diff options
author | Tad <tad@spotco.us> | 2018-05-21 18:08:21 -0400 |
---|---|---|
committer | Tad <tad@spotco.us> | 2018-05-21 18:08:21 -0400 |
commit | 1e3939289f53fd84c92f57bd3144a0eec2dcf1e3 (patch) | |
tree | 065dd015885179a4468febabf787c2d6c7fd193c /etc/discord-common.profile | |
parent | private-lib cleanup (diff) | |
download | firejail-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.profile | 32 |
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 | ||
4 | include /etc/firejail/discord-common.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | include /etc/firejail/disable-common.inc | ||
9 | include /etc/firejail/disable-devel.inc | ||
10 | include /etc/firejail/disable-passwdmgr.inc | ||
11 | include /etc/firejail/disable-programs.inc | ||
12 | |||
13 | whitelist ${DOWNLOADS} | ||
14 | |||
15 | caps.drop all | ||
16 | netfilter | ||
17 | nodvd | ||
18 | nogroups | ||
19 | nonewprivs | ||
20 | noroot | ||
21 | notv | ||
22 | novideo | ||
23 | protocol unix,inet,inet6,netlink | ||
24 | seccomp | ||
25 | |||
26 | private-bin sh,xdg-mime,tr,sed,echo,head,cut,xdg-open,grep,egrep | ||
27 | private-dev | ||
28 | private-etc fonts,machine-id | ||
29 | private-tmp | ||
30 | |||
31 | noexec ${HOME} | ||
32 | noexec /tmp | ||