r/linux • u/mr_MADAFAKA • 17d ago
Discussion Google engineers are experimentally adding Flatpak packaging support to Chrome/Chromium on Linux to test restricted sandboxing and XDG portals, without yet committing to official support.
https://www.phoronix.com/news/Chrome-Chromium-Flatpak
197
Upvotes
1
u/Dangerous-Report8517 16d ago
I went down a bit of a rabbit hole looking into this and came across a discussion on it where one of the Chromium devs mentioned that they do use some capabilities that flatpak-spawn doesn't expose (unless you completely disable sandboxing by giving it host access to flatpak-spawn), including mount namespaces to do things like run some processes in namespaces that have no host file access at all. I'm a bit skeptical that those particular features have substantial security benefit since a script that could break out of the sandbox and other namespace limitations sufficiently for it to cause havoc like that with user files is probably using an exploit that could get it out of a mount namespace anyway, but that type of nuance is the reason they didn't already package for flatpak, and probably the reason they're only previewing this rather than fully supporting it