On Sun, Aug 07, 2011 at 10:40:00AM +0300, Jukka Ruohonen wrote:
 > >  > Sounds like a job for the userland and cron(8).
 > > 
 > > uh no.
 > > 
 > > See: "since cleaning /tmp on a live system is very dangerous"
 > 
 > So care to elaborate what is dangerous about it?

It's a security FAQ. If you do rm -rf (or nearly any of the other
obvious/easy alternatives) in a world-writable directory, a hostile
user can interact with it to erase any file on the system.

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to