Closed Bug 1760984 Opened 3 years ago Closed 3 years ago

Firefox saves to Downloads instead of tmp when opening

Categories

(Firefox :: File Handling, defect)

Firefox 99
Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1738574
Tracking Status
firefox98 --- affected
firefox99 --- affected
firefox100 --- affected

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.

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.

Component: Untriaged → File Handling

Managed to reproduce this on Windows 10 x64, macOS 11.6 and on Ubuntu 20.04 x64.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop

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.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.