TurboWarp / desktop

A better offline editor for Scratch 3.
https://desktop.turbowarp.org/
GNU General Public License v3.0
344 stars 71 forks source link

Errors in Ubuntu 24.04 #974

Open GarboMuffin opened 2 months ago

GarboMuffin commented 2 months ago

namespace stuff might affect us depending on how it gets installed

https://discourse.ubuntu.com/t/noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions-15

GarboMuffin commented 2 months ago

On a fresh Ubuntu 24.04:

No idea why it's different in Files or Terminal.

The error looks like:

[3592:0426/221330.463740:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/vmuser/Downloads/TurboWarp-linux-x64-1.11.1/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Temporary fix (until reboot) is to run sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 (enables using namespaces without root; has a history of security problems) or start app with --no-sandbox (disables Chromium sandbox; extensions still can't access things like Node.js directly but in theory a V8 security bug could let them escape without needing to also escape a reasonably secure sandbox)

This is an upstream problem that other projects also have so I'll just wait and see what other projects do in response https://github.com/electron/electron/issues/41066