diff options
author | 2018-05-21 18:08:21 -0400 | |
---|---|---|
committer | 2018-05-21 18:08:21 -0400 | |
commit | 1e3939289f53fd84c92f57bd3144a0eec2dcf1e3 (patch) | |
tree | 065dd015885179a4468febabf787c2d6c7fd193c /etc/discord.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.profile')
-rw-r--r-- | etc/discord.profile | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/etc/discord.profile b/etc/discord.profile index 40deae2fc..21d46193e 100644 --- a/etc/discord.profile +++ b/etc/discord.profile | |||
@@ -1,33 +1,17 @@ | |||
1 | # Firejail profile for Discord | 1 | # Firejail profile for discord |
2 | # This file is overwritten after every install/update | 2 | # This file is overwritten after every install/update |
3 | # Persistent local customizations | 3 | # Persistent local customizations |
4 | include /etc/firejail/discord.local | 4 | include /etc/firejail/discord.local |
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
7 | 7 | ||
8 | include /etc/firejail/disable-common.inc | 8 | |
9 | include /etc/firejail/disable-devel.inc | 9 | noblacklist ${HOME}/.config/discord |
10 | include /etc/firejail/disable-passwdmgr.inc | ||
11 | include /etc/firejail/disable-programs.inc | ||
12 | 10 | ||
13 | mkdir ${HOME}/.config/discord | 11 | mkdir ${HOME}/.config/discord |
14 | whitelist ${HOME}/.config/discord | 12 | whitelist ${HOME}/.config/discord |
15 | 13 | ||
16 | caps.drop all | 14 | private-bin discord |
17 | netfilter | 15 | private-opt discord |
18 | nodvd | ||
19 | nogroups | ||
20 | nonewprivs | ||
21 | noroot | ||
22 | notv | ||
23 | novideo | ||
24 | protocol unix,inet,inet6,netlink | ||
25 | seccomp | ||
26 | |||
27 | private-bin discord,sh,xdg-mime,tr,sed,echo,head,cut,xdg-open,grep,egrep | ||
28 | private-dev | ||
29 | private-etc fonts,machine-id | ||
30 | private-tmp | ||
31 | 16 | ||
32 | noexec ${HOME} | 17 | include /etc/firejail/discord-common.profile |
33 | noexec /tmp | ||