the disappearing directory

the disappearing directory

Post by xPol » Mon, 28 Dec 2009 22:53:50


A weird behavior on my laptop linux: directories /usr/local/var/log
/usr/local/var/logs created by root get deleted a few minutes afterwards.

How can i discover what process is to blame?

thank you
---P
 
 
 

the disappearing directory

Post by Doug Freyb » Tue, 29 Dec 2009 02:06:28


Check crontab jobs especially those owned by root. It's common to have
a crontab job that trims files whose name ends in log and the one on
this system may fail to check for regular files - I've seen that happen
when someone made a pipe as a logfile and still wanted it trimmed.