Is there a way to grant Snap access to the /tmp/ directory? I googled for this, but only found a workaround (suggestion to create ~/tmp and symlink that as /tmp) which defies the idea of having a /tmp/ (which clears on reboot).
This issue is still around in 22.04, and is quite inconvenient as many applications (like firefox/jammy,now 1:1snap1-0ubuntu2 amd64) lean on there being an accessible /tmp/ dir. https://forum.snapcraft.io/t/firefox-snap-no-access-to-gvfs-and- tmp/27253/5 has more details on this, but no solution. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1790608 Title: [snap] Libreoffice/Firefox do not open files from thunderbird (more general: from /tmp) Status in firefox package in Ubuntu: Confirmed Status in libreoffice package in Ubuntu: Confirmed Bug description: I received a document via e-mail in Thunderbird. I have the Libreoffice snap package installed. When I want to open the document from Thunderbird, I see the Libreoffice splash screen, and then a dialog stating "/tmp/mozilla_<user>0/<filename>.docx does not exist." The same dialog appears when I navigate to the folder in Files and want to open it. When I copy the file to my desktop, however, I can open it without problems. I guess the source of the issue is confinement, that the Libreoffice snap can only access files from $HOME. But this breaks the case where thunderbird creates a temporary copy in /tmp. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1790608/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp