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. After that, abiword could use a similar fix. For other programs I use cfengine to create warning files to temporary directories:
/tmp/_DONT_SAVE_DOCUMENTS_HERE_they_will_be_automatically_deleted
/var/tmp/_DONT_SAVE_DOCUMENTS_HERE_they_will_be_automatically_deleted
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. After that, abiword could use a similar fix. For other programs I use cfengine to create warning files to temporary directories: SAVE_DOCUMENTS_ HERE_they_ will_be_ automatically_ deleted _DONT_SAVE_ DOCUMENTS_ HERE_they_ will_be_ automatically_ deleted
/tmp/_DONT_
/var/tmp/