Indeed, by default file-roller will temporarily unpack files in the
user's cache folder (it can in some cases fall back to the user's home
directory, or a temporary directory, see
https://gitlab.gnome.org/GNOME/file-roller/-/blob/master/src/file-
utils.c#L55).

Given this, I wonder whether it would be acceptable to allow firefox
(and other browser snaps) to read files under @{HOME}/.cache/fr-*/, by
amending an existing snapd interface.

Or could file-roller be patched to use the OpenFile method of the
FileChooser portal (https://flatpak.github.io/xdg-desktop-portal/#gdbus-
method-org-freedesktop-portal-FileChooser.OpenFile)? Would you mind
filing a file-roller bug at https://gitlab.gnome.org/GNOME/file-
roller/-/issues to request this, and link back to it here?

** Changed in: firefox (Ubuntu)
       Status: New => Confirmed

** Tags added: snap

** Changed in: firefox (Ubuntu)
   Importance: Undecided => Medium

** Summary changed:

- firefox unable to open files from file-roller
+ firefox snap unable to open files from file-roller

** Also affects: file-roller (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: file-roller (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968548

Title:
  firefox snap unable to open files from file-roller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/1968548/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to