Closed Bug 1498514 Opened 8 years ago Closed 4 years ago

Firefox "save page as" deletes locally opened files.

Categories

(Firefox :: File Handling, defect, P3)

60 Branch
x86_64
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr60 --- affected

People

(Reporter: bells, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Steps to reproduce: Affected: Firefox 60.2.2esr (64-Bit), tested under Windows 7 and Devuan ascii (both AMD64). Reproducible: always, also with a clean profile (Linux) When saving "html only" of a locally opened web page back to its original location, Firefox asks for permission to overwrite it, removes the original file and is then not able to write it back to disk anymore. This does not happen, when choosing to save the "complete" web page, but occurs for ANY locally opened plain (image, text) file as well. Steps to reproduce: 1.) Open a local file (html, xml, txt, jpeg, png, svg,...) with Firefox. 2.) Press [Ctrl]+[s]. 3.) In the "save as..." dialog, select the original file and hit "save". 4.) Firefox asks to overwrite the existing file (confirm). 5.) Firefox removes the existing file. 6.) Firefox cannot access the file anymore to write it back to itself: It is gone.
Severity: normal → major
OS: Unspecified → All
Hardware: Unspecified → x86_64
Component: Untriaged → File Handling
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3

I was unable to replicate this using ubuntu 20, and windows7 + windows10 64bit with firefox release 94.0.1

after saving on top of the previous file the file is still there.
i will mark it as resolved works for me

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