Comment 0 for bug 39854

Revision history for this message
Tero Karvinen (karvinen+launchpad) wrote : Users should be discouraged from editing temporary files

1. Open a document from the web (say from a web-based email site).
2. Edit the document, save changes.
3. Shut down the computer.
4. Turn the computer back on ... your file is gone!

This is a very common problem, I have seen tens of persons saving to /tmp/.

I think it should be fixed in OpenOffice.org save as dialog. When the "File: Save as" dialog is shown:
1) Check if "Save in folder" is /tmp/ or /var/tmp/
2) If yes, change the "Save in folder" to $HOME

In Evince pdf document viewer, it is already solved like this. In the highly unlikely (imposible?) case that user wants to store a document under /tmp, he is free to navigate to that directory. It is most important to correct this in OpenOffice - more than 95% saves in /tmp/ I have seen are done with OpenOffice. This bug is also filed against Firefox, I copied the reproduce steps from bug #15179.

Note: the original reporter indicated the bug was in package 'openoffice'; however, that package was not published in Ubuntu.