[14574] in Athena Bugs
Re: sun4 8.0I: tmp area files ....
daemon@ATHENA.MIT.EDU (Craig Fields)
Tue Aug 20 14:25:24 1996
Date: Tue, 20 Aug 1996 14:25:17 -0400
From: Craig Fields <cfields@MIT.EDU>
To: jawetzel@MIT.EDU
Cc: bugs@MIT.EDU
> Wouldn't it be nice if you actually checked if someone is still logged on
> before cleaning the tmp areas. There might even be files in these temp
> areas which someone is currently using.
While it's true that it does not check if anyone is logged in, it also
does not remove files "which someone is currently using." The file
must have not been accessed for a day or two before it will be
removed.
Admittedly, this can cause problems for someone who is logged in and
idle over the weekend, for example. Ideally clean_tmp_areas should be
run as it is now, but it should be clever and not remove files owned
by people who are logged in. (You don't want to not run it at all if
someone is logged in, because on some machines people are *always*
logged in and so the tmp areas would eventually just fill up.)
Thank you for your report.