who cleared /tmp?

Steven Stern subscribed-lists at sterndata.com
Thu Jan 5 13:15:56 UTC 2006


Neal Becker wrote:
> I realize that in general, keeping files in /tmp is rather dangerous. 
> However, it seems that readhat/linux has generally left such files alone.
> 
> It seems a number of valuable files I placed in /tmp got removed.  I'm
> wondering what caused this?  I don't see anything obvious in /etc/crond.d,
> nor is /etc/sysinit (system had been rebooted a couple of times).  Any
> hint?
> 

/etc/cron.daily/tmpwatch

By default, it looks at the *last access time*. If you hadn't accessed 
the files recently, there were deleted by this script.

-- 

   Steve




More information about the fedora-list mailing list