mirage icon indicating copy to clipboard operation
mirage copied to clipboard

Flatpak: Don't request host filesystem access

Open Newbytee opened this issue 4 years ago • 2 comments

Mirage is able to use portals for picking files to send, so requesting access to the entire host filesystem is not necessary.

Newbytee avatar Jul 26 '21 13:07 Newbytee

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?

MRAAGH avatar Jul 29 '21 15:07 MRAAGH

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.

Newbytee avatar Jul 29 '21 15:07 Newbytee