How do I access my files, or do I have to find a non-snap browser? In this state, snap is less than useless to me. It refuses to let me access my files.
Can you go the other way around and start in Firefox? If you go Ctrl + O, a portal file chooser appears, which supports proxying those hidden files. However, I’m pretty sure it only supports one file at a time right now, which might not be enough for Rust’s docs.
A very easy-to-implement idea would be a bind mount:
mkdir -p ~/anything-at-all
sudo mount --bind ~/.rustup/anything_at_all ~/anything-at-all
firefox ~/anything-at-all/the_docs.html
^O is not really a solution, as there are manymany pages of documentation.
According to people in other forums, Firefox should have access to /home/iain/.rustup/whatever, but refuses to open the pages. In other words, snap connections shows that Firefox has the personal-files interface connected and everything.
The bind mount works, so I’ll use that. Not really a solution as the problem with snap and Firefox still exists – the bind mount simply sidesteps it.
…which only gives access to $HOME/.mozilla/firefox.
Another option I think is quite attractive (and rustup should probably offer this by default):
Run a tiny webserver to serve those HTML files via HTTP, see https://github.com/rust-lang/cargo/issues/4966.