diff options
author | 2024-02-29 10:04:36 -0500 | |
---|---|---|
committer | 2024-02-29 10:04:36 -0500 | |
commit | 54823b0c3d55b7153f86e5d4e3f887ed7279993c (patch) | |
tree | a8077ba26b05bf6dda1f49d3881d59aefc6eed41 /etc/profile-m-z | |
parent | Merge pull request #6222 from kmk3/build-override-tools (diff) | |
parent | multimc: instances not running, because of missing permissions (diff) | |
download | firejail-54823b0c3d55b7153f86e5d4e3f887ed7279993c.tar.gz firejail-54823b0c3d55b7153f86e5d4e3f887ed7279993c.tar.zst firejail-54823b0c3d55b7153f86e5d4e3f887ed7279993c.zip |
Merge pull request #6216 from powerjungle/master
multimc: instances not running, because of missing permissions
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/multimc5.profile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/profile-m-z/multimc5.profile b/etc/profile-m-z/multimc5.profile index 41f82bd07..734d9c11f 100644 --- a/etc/profile-m-z/multimc5.profile +++ b/etc/profile-m-z/multimc5.profile | |||
@@ -8,11 +8,16 @@ include globals.local | |||
8 | noblacklist ${HOME}/.local/share/multimc | 8 | noblacklist ${HOME}/.local/share/multimc |
9 | noblacklist ${HOME}/.local/share/multimc5 | 9 | noblacklist ${HOME}/.local/share/multimc5 |
10 | noblacklist ${HOME}/.multimc5 | 10 | noblacklist ${HOME}/.multimc5 |
11 | noblacklist ${HOME}/.cache/JNA | ||
12 | noblacklist /tmp/lwjgl_* | ||
11 | 13 | ||
12 | # Ignore noexec on ${HOME} as MultiMC installs LWJGL native | 14 | # Ignore noexec on ${HOME} as MultiMC installs LWJGL native |
13 | # libraries in ${HOME}/.local/share/multimc | 15 | # libraries in ${HOME}/.local/share/multimc |
14 | ignore noexec ${HOME} | 16 | ignore noexec ${HOME} |
15 | 17 | ||
18 | # Ignore noexec on /tmp as LWJGL extracts libraries to /tmp | ||
19 | ignore noexec /tmp | ||
20 | |||
16 | # Allow java (blacklisted by disable-devel.inc) | 21 | # Allow java (blacklisted by disable-devel.inc) |
17 | include allow-java.inc | 22 | include allow-java.inc |
18 | 23 | ||
@@ -25,9 +30,12 @@ include disable-programs.inc | |||
25 | mkdir ${HOME}/.local/share/multimc | 30 | mkdir ${HOME}/.local/share/multimc |
26 | mkdir ${HOME}/.local/share/multimc5 | 31 | mkdir ${HOME}/.local/share/multimc5 |
27 | mkdir ${HOME}/.multimc5 | 32 | mkdir ${HOME}/.multimc5 |
33 | mkdir ${HOME}/.cache/JNA | ||
28 | whitelist ${HOME}/.local/share/multimc | 34 | whitelist ${HOME}/.local/share/multimc |
29 | whitelist ${HOME}/.local/share/multimc5 | 35 | whitelist ${HOME}/.local/share/multimc5 |
30 | whitelist ${HOME}/.multimc5 | 36 | whitelist ${HOME}/.multimc5 |
37 | whitelist ${HOME}/.cache/JNA | ||
38 | whitelist /tmp/lwjgl_* | ||
31 | include whitelist-common.inc | 39 | include whitelist-common.inc |
32 | 40 | ||
33 | caps.drop all | 41 | caps.drop all |
@@ -49,4 +57,7 @@ disable-mnt | |||
49 | private-dev | 57 | private-dev |
50 | private-tmp | 58 | private-tmp |
51 | 59 | ||
60 | dbus-user none | ||
61 | dbus-system none | ||
62 | |||
52 | #restrict-namespaces | 63 | #restrict-namespaces |