From 601397b1e8b5fda6435ed2b341a133e40678cafa Mon Sep 17 00:00:00 2001 From: NoTuxNoBux <73220431+NoTuxNoBux@users.noreply.github.com> Date: Tue, 3 Feb 2026 10:31:46 +0100 Subject: [PATCH] Lower host permissions to home permissions References #40. --- com.unity.UnityHub.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/com.unity.UnityHub.yaml b/com.unity.UnityHub.yaml index 325c63e..685a58c 100644 --- a/com.unity.UnityHub.yaml +++ b/com.unity.UnityHub.yaml @@ -11,7 +11,6 @@ tags: finish-args: - --allow=multiarch - --device=all - - --filesystem=host - --share=ipc - --share=network - --socket=pulseaudio @@ -24,6 +23,15 @@ finish-args: # Delays sleep with reason “Application cleanup before suspend”. # Ideally it would use the inhibit portal, but here we are. - --system-talk-name=org.freedesktop.login1 + # Keep home permissions for now for compatibility with the editor + # but also mention what we know we need for users that want to + # directly map their projects folder and drop said permission. + - --filesystem=home + - --filesystem=~/.upmconfig.toml + - --persist=.local/share/unity3d + - --persist=.config/UnityHub + - --persist=.cache/Unity + - --persist=.config/unity3d add-extensions: org.freedesktop.Platform.Compat.i386: directory: lib/i386-linux-gnu