Merge pull request #6216 from powerjungle/master

multimc: instances not running, because of missing permissions
This commit is contained in:
netblue30 2024-02-29 10:04:36 -05:00 committed by GitHub
commit 54823b0c3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,11 +8,16 @@ include globals.local
noblacklist ${HOME}/.local/share/multimc
noblacklist ${HOME}/.local/share/multimc5
noblacklist ${HOME}/.multimc5
noblacklist ${HOME}/.cache/JNA
noblacklist /tmp/lwjgl_*
# Ignore noexec on ${HOME} as MultiMC installs LWJGL native
# libraries in ${HOME}/.local/share/multimc
ignore noexec ${HOME}
# Ignore noexec on /tmp as LWJGL extracts libraries to /tmp
ignore noexec /tmp
# Allow java (blacklisted by disable-devel.inc)
include allow-java.inc
@ -25,9 +30,12 @@ include disable-programs.inc
mkdir ${HOME}/.local/share/multimc
mkdir ${HOME}/.local/share/multimc5
mkdir ${HOME}/.multimc5
mkdir ${HOME}/.cache/JNA
whitelist ${HOME}/.local/share/multimc
whitelist ${HOME}/.local/share/multimc5
whitelist ${HOME}/.multimc5
whitelist ${HOME}/.cache/JNA
whitelist /tmp/lwjgl_*
include whitelist-common.inc
caps.drop all
@ -49,4 +57,7 @@ disable-mnt
private-dev
private-tmp
dbus-user none
dbus-system none
#restrict-namespaces