Firefox saves to Downloads instead of tmp when opening
Categories
(Firefox :: File Handling, defect)
Tracking
()
People
(Reporter: vogu66, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
Steps to reproduce:
Set the download folder to ~/Downloads if not done, then set pdf's to "always ask" when opened.
Open a link towards a pdf, then select open with firefox or with another program.
Actual results:
Firefox says it's an executable file and insecure, downloads it in Downloads after confirmation, and then opens it.
Expected results:
Since it's just opened, it should be saved in /tmp instead of Downloads (as confirmed in https://bugzilla.mozilla.org/show_bug.cgi?id=1626910)
I guess it might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1696064 but I'm not sure.
Also, not sure it's relevant, but I'm working on Manjaro Linux.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::File Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Managed to reproduce this on Windows 10 x64, macOS 11.6 and on Ubuntu 20.04 x64.
Comment 3•3 years ago
|
||
Bug 1738574 covers the saving of files in the downloads folder rather than tmp. The fact that you get a warning about the file being executable is due to bug 1664646; you could work around the bug by changing the default permissions assigned to files in the downloads directory.
Description
•