diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/psi-plus.profile | |
parent | merges (diff) | |
parent | Unify last 8 profiles (diff) | |
download | firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.gz firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.zst firejail-e24b15f8647997dbb26a7152c921af94e36294ce.zip |
Merge pull request #1427 from SpotComms/pr
Unify all profiles
Diffstat (limited to 'etc/psi-plus.profile')
-rw-r--r-- | etc/psi-plus.profile | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/etc/psi-plus.profile b/etc/psi-plus.profile index 9500731fe..27ee2500c 100644 --- a/etc/psi-plus.profile +++ b/etc/psi-plus.profile | |||
@@ -1,27 +1,25 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for psi-plus |
2 | include /etc/firejail/globals.local | 2 | # This file is overwritten after every install/update |
3 | 3 | # Persistent local customizations | |
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/psi-plus.local | 4 | include /etc/firejail/psi-plus.local |
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | 7 | ||
8 | # Firejail profile for Psi+ | ||
9 | noblacklist ${HOME}/.config/psi+ | 8 | noblacklist ${HOME}/.config/psi+ |
10 | noblacklist ${HOME}/.local/share/psi+ | 9 | noblacklist ${HOME}/.local/share/psi+ |
11 | 10 | ||
12 | include /etc/firejail/disable-common.inc | 11 | include /etc/firejail/disable-common.inc |
13 | include /etc/firejail/disable-devel.inc | 12 | include /etc/firejail/disable-devel.inc |
14 | include /etc/firejail/disable-programs.inc | ||
15 | include /etc/firejail/disable-passwdmgr.inc | 13 | include /etc/firejail/disable-passwdmgr.inc |
14 | include /etc/firejail/disable-programs.inc | ||
16 | 15 | ||
17 | whitelist ${DOWNLOADS} | 16 | mkdir ~/.cache/psi+ |
18 | mkdir ~/.config/psi+ | 17 | mkdir ~/.config/psi+ |
19 | whitelist ~/.config/psi+ | ||
20 | mkdir ~/.local/share/psi+ | 18 | mkdir ~/.local/share/psi+ |
21 | whitelist ~/.local/share/psi+ | 19 | whitelist ${DOWNLOADS} |
22 | mkdir ~/.cache/psi+ | ||
23 | whitelist ~/.cache/psi+ | 20 | whitelist ~/.cache/psi+ |
24 | 21 | whitelist ~/.config/psi+ | |
22 | whitelist ~/.local/share/psi+ | ||
25 | include /etc/firejail/whitelist-common.inc | 23 | include /etc/firejail/whitelist-common.inc |
26 | 24 | ||
27 | caps.drop all | 25 | caps.drop all |
@@ -35,9 +33,9 @@ protocol unix,inet,inet6 | |||
35 | seccomp | 33 | seccomp |
36 | shell none | 34 | shell none |
37 | 35 | ||
36 | disable-mnt | ||
38 | private-dev | 37 | private-dev |
39 | private-tmp | 38 | private-tmp |
40 | disable-mnt | ||
41 | 39 | ||
42 | noexec ${HOME} | 40 | noexec ${HOME} |
43 | noexec /tmp | 41 | noexec /tmp |