itchio / itch

🎮 The best way to play your itch.io games
https://itch.io/app
MIT License
2.35k stars 209 forks source link

Firejail fails to execute a pkexec command when installing, now no game/app work with sandboxing enabled #3059

Open fluoriteByte opened 4 weeks ago

fluoriteByte commented 4 weeks ago

i am currently using the latest flatpak client of itch, i enabled sandboxing to feel safe when downloading random free games, i tried running classicube with it enabled and during the launch it downloaded firejail, it then promptly failed to install firejail due to failing to find pkexec in the flatpak env, which then caused no games or apps to work with sandboxing

i have tried to send the report from the client but that crashed too so i lost the logs

fluoriteByte commented 4 weeks ago

it seems like the firejail binary for some reason has SUID, which is not support inside flatpak at all