Clearing tmp files
Josef Wolf
jw at raven.inka.de
Tue Oct 16 21:06:34 UTC 2007
On Fri, Oct 12, 2007 at 09:53:30AM -0700, NoOp wrote:
> On 10/12/2007 08:34 AM, sktsee wrote:
> > On Fri, 2007-10-12 at 11:40 +0800, gup502 wrote:
> You might find this an interesting read:
> https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/15179
>
> Over on the OpenOffice lists there have been many reports of some
> student losing an essay because OOo saves to /tmp & then /tmp gets wiped
> on startup. Obvious fix is to simply made a directly in home and reset
> the path in OOo (Tools|Options|OOo|Path) to the new temp directory.
I'd argue this to be a bug in OOo. FHS specifies that applications should
not put into /tmp anything that needs to survive reboots. Applications
should use /var/tmp for such things.
I have
tmpfs /tmp tmpfs size=500m,noexec,nosuid,nodev 0 0
in my fstab for several years now without any problems.
> Personally, I prefer to have /tmp cleaned on reboot... just be aware of
> applications that use /tmp rather than their own /tmp directory.
Such applications are buggy.
More information about the ubuntu-users
mailing list