Closed Bug 1787266 Opened 2 years ago Closed 2 years ago

FireFox snap fails to save to tmp folder

Categories

(Firefox Build System :: Third Party Packaging, defect)

Firefox 104
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tc, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0

Steps to reproduce:

Saved a file to /tmp

Actual results:

File did not appear in /tmp

Expected results:

File appeared in /tmp

Component: Untriaged → Downloads Panel
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Downloads Panel → Widget: Gtk
Product: Firefox → Core
Summary: FireFox snap saves to tmp → FireFox snap fails to save to tmp folder

Olivier, as much as I can remember, Firefox Snap does not have access to the system's /tmp, right?

Flags: needinfo?(olivier)

From https://bugzilla.mozilla.org/show_bug.cgi?id=1786392#c6 Firefox Snap cannot have access to /tmp/ itself.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Component: Widget: Gtk → Third Party Packaging
Flags: needinfo?(olivier)
Product: Core → Firefox Build System
Resolution: --- → WONTFIX

If you are going to not fix it, where can the Snap FireFox write too ? Where is the list ? How do users discover locations they can pick in the download modal that will actually work ?

(In reply to tc from comment #3)

If you are going to not fix it, where can the Snap FireFox write too ? Where is the list ? How do users discover locations they can pick in the download modal that will actually work ?

As much as I can tell, /tmp/snap.firefox/tmp is the one you will get. The other questions should be raised to people working on Snap, I dont know the answers.

Err, OK, who are they and where ?

Maybe you should file a bug against xdg-desktop-portal's GNOME or GTK or other desktop environment you are using, so that the file picker should not present a directory that is not accessible ? There was already the same issue with Samba share mount points ...

As you can see, not a lot of activity against that: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/48

You need to log in before you can comment on or make changes to this bug.