Closed rugk closed 6 years ago
Thanks for the report.
The --filesystem=home:rw
is actually commented, so it is not in effect. Before the https://bugzilla.mozilla.org/show_bug.cgi?id=1490186 landed you wasn't able to open host files in the Nightly flatpak. I'll remove the misleading comment and the commented filesystem parameter.
Fixed in 78e6736e1aa4d0de2821b78bd37912ff854bc897
https://github.com/xhorak/firefox-devedition-flatpak/blob/fc44f888e15f6a70dcfad8ca6517a75062398a00/org.mozilla.FirefoxNightly/org.mozilla.FirefoxNightly.json#L20-L21
Seeing https://github.com/xhorak/firefox-devedition-flatpak/issues/33 has been fixed in Firefox 62, I see no more reason to allow Firefox to access the home dir (at least not writable).
BTW also the comment in this JSON is not really clear and contradicts the code.
This would fix a big "loophole" in the flatpak sandbox:
https://flatkill.org/
Alternatively, if you can, you may also limit it to
~/Downloads
only. As far as I see this is the only place the Firefox needs to access.