Flatpak 'All Applications' permissions (global)?

Flatseal has an ‘All Applications’ option which sets permissions globally for all Flatpak applications. I believe it refers to ~/.local/share/flatpak/overrides/global.

I can’t find that option in KDE Plasma Settings | Application Permissions | Flatpak Permissions. Does the option exist somewhere?

It may well be that this was added to Plasma after my Debian 12 was released, in which case I will have to use Flatseal until Debian 13 is out.

I imagine that Flatseal and KDE interface with a Flatpak setting, which means that you could probably do this via a terminal as well. But, of course, being able use a GUI is more user-friendly (and expected) for most people.

I couldn’t find the syntax but there must be a way and you can always edit that global file. I have decided it was faster to just re-install Flatseal. I am asking because from what I see Flatseal and KDE do exactly the same thing but there is this one glaring omission in KDE.

And yes, people would expect a GUI way, particularly as we are being constantly told that with modern Linux you never ever need to see the scary Terminal.

2 Likes

the flatpak permissions settings page is a relatively new feature of plasma, i’m sure it would be a welcome “wishlist” item to include the global option as well.

changed this to a brainstorm since there is clearly no way to do what you want with plasma currently.

2 Likes

For example:

flatpak --user override --filesystem=~/Documents

If you wanted to override for a particular app (not “all apps”) then:

flatpak --user override --filesystem=~/Documents org.mozilla.firefox

flatpak override --help will tell you all the different settings you can override (--filesystem is just one example).

But GUI support for global overrides would be a good addition for sure.

3 Likes