[Bug 1968548] Re: firefox unable to open files from file-roller

2022-06-03 Thread Olivier Tilloy
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

[Bug 1968548] Re: firefox unable to open files from file-roller

2022-06-02 Thread madbiologist
** Tags added: jammy

-- 
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 unable to open files from file-roller

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


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

[Bug 1968548] Re: firefox unable to open files from file-roller

2022-04-11 Thread Valentijn Sessink
** Attachment added: "Example gz-file to demonstrate."
   
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1968548/+attachment/5579278/+files/file.html.gz

** Description changed:

- Due to Firefox being contained and not being able to read in ~/.cache/,
- html-files from an archive  cannot be read with Firefox.
+ Due to Firefox Snap being contained and not being able to read in
+ ~/.cache/, html-files from an archive  cannot be read with Firefox.
+ Ubuntu 22.04 Jammy Jellyfish
  
- Steps to reproduce: 
+ Steps to reproduce:
  - open, with file-roller, an archive containing a HTML-file;
  - double click (i.e. open) the archived HTML-file (with file-roller)
  Now file-roller extracts this to ~/.cache/.$randomname/file.html and tells 
(through xdg-open? Dunno...) firefox to open it.
  
  Expected result: Firefox shows file
  Actual result: "Firefox says: Access to the file was denied
  
  The file at [$HOME]/.cache/.fr-KMCDMo/file.html is not readable.
  
- It may have been removed, moved, or file permissions may be
+ It may have been removed, moved, or file permissions may be
  preventing access."
  
  This is basically a different manifestation of bug #1959417 but I'm
  filing it separately because it is a separate problem.

-- 
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 unable to open files from file-roller

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


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