Firefox snap has no access to /tmp profiles path
See original GitHub issueWhen running Firefox as snap, he does’t have access to the /tmp
directory and therefore firefox cannot load the profile. It was really hard to debug, because FIrefox doesn’t fail to start in -headless
mode and therefore there is just a karma timeout.
FIrefox solves that by putting tmp files into ~/Downloads/firefox.tmp/
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Sharing files via /tmp - snapd - snapcraft.io
Firefox plugs the 'home' interface and so if it is connected it is able to create the temporary directory in ~/Downloads, otherwise it...
Read more >How to open local files in Firefox 100 snap? - Mozilla Support
I'm on Ubuntu 22.04 which is using the snap package of Firefox. It seems that I cannot open local files in the /tmp...
Read more >Bug #1972762 “Firefox and Chromium snaps preventing apps ...
Snaps don't have full access to it by default, but they do have separate spaces under it (/tmp/snap.<snap_name>/tmp/).
Read more >file:///tmp/ in Firefox does not show contents of /tmp - Super User
It does show the contents of what it thinks is /tmp, it's just not the same /tmp. Linux supports "mount namespaces" which allow...
Read more >Ubuntu snap packaged Firefox not starting with web-ext run
Firefox should open with copy of desired or default profile. ... to have access to the home directory but not to the system...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any fix for this? Running into it in Karma+Firefox now, Ubuntu 22.04, Firefox 104.0.2:
Many thanks for your reply. I confirm the profile option works correctly.
I leave this as an exercise to a future reader to define a good, possibly random, location and clean up after test suite completes, if necessary. This should make us able to workaround this annoying bug that Ubuntu snap has.