diff options
Diffstat (limited to 'etc/Mathematica.profile')
-rw-r--r-- | etc/Mathematica.profile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/etc/Mathematica.profile b/etc/Mathematica.profile index e634a5d60..8f6e33f7b 100644 --- a/etc/Mathematica.profile +++ b/etc/Mathematica.profile | |||
@@ -1,26 +1,25 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for Mathematica |
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/Mathematica.local | 4 | include /etc/firejail/Mathematica.local |
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | 7 | ||
8 | # Mathematica profile | ||
9 | noblacklist ${HOME}/.Mathematica | 8 | noblacklist ${HOME}/.Mathematica |
10 | noblacklist ${HOME}/.Wolfram Research | 9 | noblacklist ${HOME}/.Wolfram Research |
11 | 10 | ||
11 | include /etc/firejail/disable-common.inc | ||
12 | include /etc/firejail/disable-devel.inc | ||
13 | include /etc/firejail/disable-passwdmgr.inc | ||
14 | include /etc/firejail/disable-programs.inc | ||
15 | |||
12 | mkdir ~/.Mathematica | 16 | mkdir ~/.Mathematica |
13 | whitelist ~/.Mathematica | ||
14 | mkdir ~/.Wolfram Research | 17 | mkdir ~/.Wolfram Research |
18 | whitelist ~/.Mathematica | ||
15 | whitelist ~/.Wolfram Research | 19 | whitelist ~/.Wolfram Research |
16 | whitelist ~/Documents/Wolfram Mathematica | 20 | whitelist ~/Documents/Wolfram Mathematica |
17 | include /etc/firejail/whitelist-common.inc | 21 | include /etc/firejail/whitelist-common.inc |
18 | 22 | ||
19 | include /etc/firejail/disable-common.inc | ||
20 | include /etc/firejail/disable-programs.inc | ||
21 | include /etc/firejail/disable-devel.inc | ||
22 | include /etc/firejail/disable-passwdmgr.inc | ||
23 | |||
24 | caps.drop all | 23 | caps.drop all |
25 | nonewprivs | 24 | nonewprivs |
26 | noroot | 25 | noroot |