print to file defaults to /home and fails silently if target directory is not writable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Confirmed
|
Unknown
|
|||
firefox (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Load a web page in firefox and click File->Print. The Print dialog box appears.
2. Choose Print to File from the list of printers
3. Choose home under Save in folder. (This is always the default selection for me).
4. Type a name in the filename box, and hit Print.
What happens:
The "Printing" dialog box appears, the progress indicator goes up to 100%, and then it disappears. However, no file is saved
(because /home/ is not writable).
What should happen:
A message should appear saying that the file cannot be written to /home/, and I should be returned to the Print dialog.
$ apt-cache policy firefox | head -3
firefox:
Installed: 12.0+build1-
Candidate: 12.0+build1-
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in firefox: | |
status: | Confirmed → Unknown |
Changed in firefox: | |
status: | Unknown → Confirmed |
Changed in firefox: | |
importance: | Medium → Unknown |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070601 SeaMonkey/1.1.2 Mnenhy/0.7.4.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070601 SeaMonkey/1.1.2 Mnenhy/0.7.4.0
Printing a webpage to a postscript file in a directory where the user does not have write privileges gives no feedback that the operation failed. No file is created, and no "Permission Denied" warning message occurs.
Reproducible: Always
Steps to Reproduce:
1. Open any webpage.
2. Go to File->Print
3. Select PostScript/default and the "Print to File" checkbox, then print.
4. When prompted for the filename, select a directory where you don't have write permission (e.g. /).
Actual Results:
It goes through the motion of printing to file, but no file is created and no warning message occurs.
Expected Results:
The program should prompt the user immediately that permission is denied.