Dave Kinchlea wrote:
This is mis-information. If you use "-exec rm {} \;" with find
there can be such as race condition, and one that CAN be exploited
rather easily under the right circumstances but it is this combination
that is dangerous not find itself.
I had interpreted the original comment that the remove was exactly
what was meant, hence my comment about find not being a secure way to
do this. So, basically, in that context, my synopsis is identical to yours.
I never meant to imply that find itself will cause problems, but using
find to remove files from cron is dangerous.
--
____________________________________________________________________________
Doug Hughes Engineering Network Services
System/Net Admin Auburn University
doug(_at_)eng(_dot_)auburn(_dot_)edu