I cannot save data from firefox (or another browser) to a folder for which I have write permissions, like folders inside my home, but I can save to home! As far as I can see I have the correct permissions but Firefox keeps saying I don't. chromium tells me the same. This happened after the upgrade from 20 to 22.
1 Answers
Firefox and Chromium in Ubuntu 22.04 and newer releases come as Snaps.
Snap packages can currently access your /home directory and (almost) nowhere else. The applications simply cannot access most of your filesystem. It's a feature of snap confinement (sandboxing). Researchers keep discovering vulnerabilities in browser software, so that confinement seems like a desirable feature for most users.
But that feature does, unfortunately, break access to outside-home directories.
You have options:
You can modify your workflow: You can link to /home. Or you can sync to /home. The browsers cannot follow the link, but perhaps your other applications can. Or you can auto-sync between the locations.
You can use a deb or upstream binary instead of the snap. They are still available.
- 68,493