Permission denied when trying to open a pdf file form Google Drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evince |
New
|
Unknown
|
|||
evince (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
I logged into Google Drive on Gnome Online Accounts, and I can access my Google Drive files from nautilus.
However, when I try to open a pdf file from said folder, I can't open it. I get a "permission denied".
Other files open fine. Okular is also able to open the pdf file.
See attached screenshot with the error.
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: evince 43.0-1
ProcVersionSign
Uname: Linux 5.19.0-15-generic x86_64
ApportVersion: 2.23.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 2 17:27:12 2022
InstallationDate: Installed on 2022-02-02 (242 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: evince
UpgradeStatus: Upgraded to kinetic on 2022-09-29 (3 days ago)
Changed in evince (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in evince: | |
status: | Unknown → New |
First machine:
Ubuntu 23.10
Evince 45.0-1 ($ apt show evince)
Second machine:
Ubuntu 24.04
Evince 46.0-1build1
I've also added Google Drive through Online Accounts and can't open PDFs with evince 45.0-1.
- Opening image files works by double-clicking in Nautilus.
- Opening Google Drive PDFs in Firefox works (only tried on 1st machine, though).
- Can also copy/paste files into, and out of, Google Drive using Nautilus.
Double-clicking PDF in Nautilus, Error ------- ------- ------- ------- ---
-------
Unable to open document “file:/ //run/user/ 1000/gvfs/ google- drive:host= tecnico. ulisboa. pt,user= daniel. andrade/ 0AKMJJbX- j2jTUk9PVA/ 0B6MJJbX- j2jTc3RhcnRlcl9 maWxl”.
Permission denied
Opening via Terminal in Evince, Error ------- ------- ------- ------- ---
-------
$ evince file:// /run/user/ 1000/gvfs/ google- drive:host= tecnico. ulisboa. pt,user= daniel. andrade/ 0AKMJJbX- j2jTUk9PVA/ 0B6MJJbX- j2jTc3RhcnRlcl9 maWxl
(evince:26649): GVFS-WARNING **: 17:47:33.617: The peer-to-peer connection failed: Error while getting peer-to-peer dbus connection: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem= xdg-run/ gvfsd privileges.
{ Error message repeats 5 times. Evince window opens with the same error as double-click in Nautilus. }
Opening via Terminal in Firefox, Works ------- ------- ------- ------- --- /run/user/ 1000/gvfs/ google- drive:host= tecnico. ulisboa. pt,user= daniel. andrade/ 0AKMJJbX- j2jTUk9PVA/ 0B6MJJbX- j2jTc3RhcnRlcl9 maWxl
-------
$ firefox file://
{ PDF opens in browser successfully. I'm not logged in in my Google account in Firefox. }