diff options
author | 2018-04-12 11:35:01 -0500 | |
---|---|---|
committer | 2018-04-12 11:35:01 -0500 | |
commit | 8ee7c1bcfc602481fd50811fe1a460b95646d7ee (patch) | |
tree | 9d0609b453783a1047e664224c244f4c6ee2c0ce | |
parent | AppArmor: disable MAC related capabilities (diff) | |
parent | Add Discord profile (diff) | |
download | firejail-8ee7c1bcfc602481fd50811fe1a460b95646d7ee.tar.gz firejail-8ee7c1bcfc602481fd50811fe1a460b95646d7ee.tar.zst firejail-8ee7c1bcfc602481fd50811fe1a460b95646d7ee.zip |
Merge pull request #1884 from flacks/profiles/discord
Add Discord profile
-rw-r--r-- | etc/discord.profile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/etc/discord.profile b/etc/discord.profile new file mode 100644 index 000000000..bb59ed42d --- /dev/null +++ b/etc/discord.profile | |||
@@ -0,0 +1,33 @@ | |||
1 | # Firejail profile for Discord | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/discord.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 | mkdir ${HOME}/.config/discord | ||
14 | whitelist ${HOME}/.config/discord | ||
15 | |||
16 | caps.drop all | ||
17 | netfilter | ||
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 | ||
28 | private-dev | ||
29 | private-etc fonts | ||
30 | private-tmp | ||
31 | |||
32 | noexec ${HOME} | ||
33 | noexec /tmp | ||