Closed Bug 1870023 Opened 1 year ago Closed 1 year ago

Opening PDF, "cannot open path of the current working directory: Permission denied", in google-drive-ocamlfuse Mount

Categories

(Firefox :: PDF Viewer, defect)

Firefox 120
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nia.tina.so, Unassigned)

Details

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

Steps to reproduce:

Operating System

  • OS: Linux 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2(Kubuntu 22.04)
  • Build ID: 20231129221557

Steps to Reproduce:

  1. Execute the following command to identify the default application for opening PDF files:

    xdg-mime query default application/pdf
    

    Result:

    firefox_firefox.desktop
    
  2. Open a PDF stored in a drive mounted with google-drive-ocamlfuse using the following command:

    kde-open "path_to_pdf_on_google-drive-ocamlfuse_mounted_folder"
    

Actual results:

Actual Results:

The following error is returned:

cannot open path of the current working directory: Permission denied

Expected results:

Expected Results:

Successful display of the PDF.

Component: Untriaged → PDF Viewer

Actually , PDF file outside of the google drive mount folder can be opened with this step.

The severity field is not set for this bug.
:calixte, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)

I just tried in Fedora to reproduce the issue with the following commands:

  • xdg-mime default firefox-nightly.desktop application/pdf
  • google-drive-ocamlfuse google-drive
  • xdg-open google-drive/foo.pdf

and everything is working fine.
If I enter the path to a pdf file which is in google-drive (e.g. file:///home/calixte/google-drive/bar.pdf), then it works fine either.
Maybe something is wrong with the rights on your local gdrive directory (maybe you could try to change the rights in playing with chmod/chown).

Flags: needinfo?(cdenizet) → needinfo?(nia.tina.so)

I think nothing is wrong with the rights because

firefox google-drive/foo.pdf

works well in my environment.

Flags: needinfo?(nia.tina.so)

besides,

xdg-mime default google-chrome application/pdf
kde-open google-drive/foo.pdf

and

google-chrome google-drive/foo.pdf

work well, too.

Do you have the same problem with a HTML file ?

I am sorry, but recently I changed the OS of my computer to Ubuntu, and the similar problem did not occur.

I'm closing for now, if you've a way to reproduce it, please reopen.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.