From b6287e9c6b765a3d1966b7039ec448acae39bd43 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Wed, 27 Sep 2023 06:52:53 +0000 Subject: [PATCH] minecraft-launcher: drop private-opt comment and move whitelist --- etc/profile-m-z/minecraft-launcher.profile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/etc/profile-m-z/minecraft-launcher.profile b/etc/profile-m-z/minecraft-launcher.profile index f4517bcb562..f3de3f1788e 100644 --- a/etc/profile-m-z/minecraft-launcher.profile +++ b/etc/profile-m-z/minecraft-launcher.profile @@ -25,6 +25,7 @@ include disable-xdg.inc mkdir ${HOME}/.minecraft whitelist ${HOME}/.minecraft +whitelist /opt/minecraft-launcher include whitelist-common.inc include whitelist-runuser-common.inc include whitelist-usr-share-common.inc @@ -51,10 +52,7 @@ private-dev # If multiplayer or realms break, add 'private-etc ' # or 'ignore private-etc' to your minecraft-launcher.local. private-etc @tls-ca,@x11,host.conf,java*,mime.types,services,timezone -# private-opt breaks file-copy-limit, use a whitelist instead of draining RAM -# https://github.com/netblue30/firejail/discussions/5307 -#private-opt minecraft-launcher -whitelist /opt/minecraft-launcher +private-opt minecraft-launcher private-tmp dbus-user none