Firefox opens local PDFs with an inconsistent path

When a PDF saved locally is opened with Firefox, Firefox's address bar doesn't show the PDF's location, it shows an address in /run that appears to be some kind of temporary staging directory. Why can't Firefox just open PDFs from their actual location on the drive? Not sure if this is a Linux problem, but it does it fine on Windows. And I couldn't find this issue on Google. This is annoying because I have to specify the location of the PDF every time I restart the computer. It's a textbook that I plan to spend months reading.
No description
Solution:
This is normal behavior of flatpak, it's sandboxed. If you access this folder often you can whitelist it via Flatseal
Jump to solution
10 Replies
Solution
Kyle Gospo
Kyle Gospo2mo ago
This is normal behavior of flatpak, it's sandboxed. If you access this folder often you can whitelist it via Flatseal
Vi-
Vi-OP2mo ago
Oh, with this?
No description
Kyle Gospo
Kyle Gospo2mo ago
yeah
Vi-
Vi-OP2mo ago
Thanks
Kyle Gospo
Kyle Gospo2mo ago
"All user files" is likely enough
Vi-
Vi-OP2mo ago
So it's a security feature to prevent Firefox from accessing the computer's files?
Kyle Gospo
Kyle Gospo2mo ago
yep
Vi-
Vi-OP2mo ago
Cool I gave it access to My PC's books directory Will I need to restart Linux?
Kyle Gospo
Kyle Gospo2mo ago
just firefox
Vi-
Vi-OP2mo ago
It worked! Thanks

Did you find this page helpful?