Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 13963 ideas, 66846 comments, 1291785 votes

Idea #2349: Timestamp-based deletion of temp files.



up
-27
down
Written by deadowl the 2 Mar 08 at 00:06. Category: Office.
Related to: Nothing/Others. Status: New
Description
Okay, so I was working on a paper that somebody in my group project for school had sent me through email. I assumed that when I saved it in ooWriter, it would save in the usual user space. NOT THE CASE. It was saved in temp. As soon as my computer was rebooted, all of my work was gone.

To prevent this from happening to others, it would be beneficial for recovery purposes to set a timestamp a week in the future (or some user defined time) to mark the time for the deletion of temporary files.

This could have been avoided, if when opening the file from Thunderbird, it would put a copy outside of temp, or when saving in ooWriter, it would have realized it was saving to the temp directory and given me a warning.

Still, for general recoverability purposes, a timestamp-based solution seems reasonable.

So the main suggestions I'd make out of this event:
-Get OpenOffice and other applications to generate warnings about saving in the temp directory.
-Give temp files a certain amount of time to be recovered.
Tags: (none)

Attachments
No attachments.


Duplicates


Comments
Auzy wrote on the 2 Mar 08 at 02:02
Not really a clean fix.. very messy, and wont fix the underlying issue really. Temp files should always be cleaned on reboot.

It would be better to change the programs to behave better

Roanoke wrote on the 2 Mar 08 at 02:31
Or save in a home dir.

jannone wrote on the 2 Mar 08 at 04:26
Your thunderbird should have marked the file as read-only.

shiyee wrote on the 4 Mar 08 at 08:25
Evolution marks attached files as read-only, when opening them. Thunderbird should do the same (open up a bug at Launchpad).

Auzy wrote on the 15 Mar 08 at 07:37
What I meant, is the point of the idea was to clean out files based on date..

But we should fix firefox/thunderbird, so it saves the file in the downloaded folder instead of temp instead. Then it wont be automatically deleted, and temp can be safely wiped every reboot. Everyone wins. You can then choose when to delete your OOOffice file then.

bgfeldm wrote on the 29 Mar 08 at 01:10
the /tmp folder is a temporary folder on Ubuntu Linux, it is actually a special file system that is recreated on each system startup.


Post your comment