mirage
mirage copied to clipboard
Flatpak: Don't request host filesystem access
Mirage is able to use portals for picking files to send, so requesting access to the entire host filesystem is not necessary.
And the portals just work, with no modifications to Mirage?
Should we expect this to work for everyone, or does something additional need to be installed?
And the portals just work, with no modifications to Mirage?
From my testing, yes.
Should we expect this to work for everyone, or does something additional need to be installed?
You do need a desktop portal implementation installed on your host system, but that's an assumption made by virtually all Flatpaks, so I think it's reasonable for Mirage to make that assumption too. I think having a desktop portal implementation is the usual use-case of Flatpak rather than the other way around, so I think it's reasonable to expect that those who don't use portals with Flatpak (if such people exist) have to change the permission to get things working for them, especially given that Flatpak is moving to using portals for more and more things.