Closed Bug 280420 Opened 20 years ago Closed 20 years ago

When a temporary file is created from the download manager it should be readonly.

Categories

(SeaMonkey :: Download & File Handling, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 280419

People

(Reporter: bryan, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910

When a download is requested and the user clicks 'Open' the file is saved in the
temporary folder. For word documents this allows users to edit and save the file
back to disk. When mozilla closes it will delete the temporary file, loosing the
changes.

The file should be marked readonly so the user can't change the file.

This is a particular problem with webmail.

Reproducible: Always

Steps to Reproduce:
1.Open a word document from the web by clicking the 'Open' button on the
download prompt.
2.Edit the document and select 'Save' from the 'File' menu in word.
3.Exit word.
4.Exit mozilla.

Actual Results:  
The file was deleted including the changes.

Expected Results:  
The temporary file should have been saved as readonly - so the user could not
modify the file. Ideally this would be done by removing the write permissions
for the file.

*** This bug has been marked as a duplicate of 280419 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.