[1265] in Athena Bugs

home help back first fref pref prev next nref lref last post

60C: /etc/athena/clean_tmp_areas bug

daemon@ATHENA.MIT.EDU (John Carr)
Fri Oct 28 05:26:26 1988

To: bugs@ATHENA.MIT.EDU
Date: Fri, 28 Oct 88 05:26:00 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
clean_tmp_areas does a find -atime +1 on /tmp.  This does not detect the case
of files moved to /tmp in the past day which were not accessed in the last
day.  I have verified that mv preserves access/modify times even when copying
across filesystems.  Therefore, it is not safe to store files in /tmp around
4:20 AM unless you have looked at them within the past day (A user recently 
had the bad luck to be logged in at 4:20, with two big files temporarily in 
/tmp, both of which he had not looked at recently.  They were erased.)

I can't find a flag to find to check the inode change time, but that is a 
good double check if it can be done.  

  --John Carr

home help back first fref pref prev next nref lref last post