Cleanup of /tmp

Augustine Cano afc at shibaya.lonestar.org
Thu Jan 31 02:25:47 AEST 1991


In article <1991Jan29.171729.11768 at stb.info.com> michael at stb.info.com (Michael Gersten) writes:
>
>I discovered that something is cleaning up /tmp without my knowledge.
>
>It is not /etc/rc. I've been up 15 days.
>It is not crontab, nor any cleanup deamons run from crontab.
>
>Whatever it is wipes out the entire /tmp/*, without regard for
>how recent the file is. This is rather unfriendly, and may cause
>some programs to crash that assume that they can re-open a file
>(such as a program that runs in two or three phases. Say a C compiler).
>
>Does anyone know which program is doing this and how to stop it?
>I suspect it is smgr, but a strings does not show '/tmp' in it.

It's /etc/.cleanup.  The offending line is rm -rf /tmp/*.  I have commented
it and my files no longer disappear.

>		Michael
>-- 
>		Michael
>michael at stb.info.com denwa!stb!michael anes.ucla.edu!stb!michael 
>"Space is an illusion; disk space doubly so"


-- 
Augustine Cano		INTERNET: afc at shibaya.lonestar.org
			UUCP:     ...!{ernest,egsner}!shibaya!afc



More information about the Comp.sys.3b1 mailing list