diff options
author | 2017-09-18 10:29:19 -0400 | |
---|---|---|
committer | 2017-09-18 10:29:19 -0400 | |
commit | 409e32ba033b1f20fea9d87f1a294a5a28610a4a (patch) | |
tree | 93b81ee50b2ffee13fae8c15fa94df7dabb51dbe | |
parent | Merge branch 'master' of http://github.com/netblue30/firejail (diff) | |
download | firejail-409e32ba033b1f20fea9d87f1a294a5a28610a4a.tar.gz firejail-409e32ba033b1f20fea9d87f1a294a5a28610a4a.tar.zst firejail-409e32ba033b1f20fea9d87f1a294a5a28610a4a.zip |
Add a profile for Rocket.Chat
-rw-r--r-- | etc/electron.profile | 2 | ||||
-rw-r--r-- | etc/riot-web.profile | 4 | ||||
-rw-r--r-- | etc/rocketchat.profile | 14 |
3 files changed, 16 insertions, 4 deletions
diff --git a/etc/electron.profile b/etc/electron.profile index e5aee4358..91e5cd3df 100644 --- a/etc/electron.profile +++ b/etc/electron.profile | |||
@@ -5,13 +5,11 @@ include /etc/firejail/electron.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
7 | 7 | ||
8 | noblacklist ~/.config/Rocket.Chat | ||
9 | include /etc/firejail/disable-common.inc | 8 | include /etc/firejail/disable-common.inc |
10 | include /etc/firejail/disable-passwdmgr.inc | 9 | include /etc/firejail/disable-passwdmgr.inc |
11 | include /etc/firejail/disable-programs.inc | 10 | include /etc/firejail/disable-programs.inc |
12 | 11 | ||
13 | whitelist ${DOWNLOADS} | 12 | whitelist ${DOWNLOADS} |
14 | whitelist ~/.config/Rocket.Chat | ||
15 | 13 | ||
16 | caps.drop all | 14 | caps.drop all |
17 | netfilter | 15 | netfilter |
diff --git a/etc/riot-web.profile b/etc/riot-web.profile index c714652df..06dbbe9d9 100644 --- a/etc/riot-web.profile +++ b/etc/riot-web.profile | |||
@@ -5,9 +5,9 @@ include /etc/firejail/riot-web.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
7 | 7 | ||
8 | noblacklist ~/.config/Riot | 8 | noblacklist ${HOME}/.config/Riot |
9 | 9 | ||
10 | whitelist ~/.config/Riot | 10 | whitelist ${HOME}/.config/Riot |
11 | include /etc/firejail/whitelist-common.inc | 11 | include /etc/firejail/whitelist-common.inc |
12 | 12 | ||
13 | # Redirect | 13 | # Redirect |
diff --git a/etc/rocketchat.profile b/etc/rocketchat.profile new file mode 100644 index 000000000..da92cd938 --- /dev/null +++ b/etc/rocketchat.profile | |||
@@ -0,0 +1,14 @@ | |||
1 | # Firejail profile for rocketchat | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/rocketchat.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.config/Rocket.Chat | ||
9 | |||
10 | whitelist ${HOME}/.config/Rocket.Chat | ||
11 | include /etc/firejail/whitelist-common.inc | ||
12 | |||
13 | # Redirect | ||
14 | include /etc/firejail/electron.profile | ||