Subject: Re: security/7060: find and rm
To: None <cjones@rupert.honors.montana.edu>
From: Richard Earnshaw <rearnsha@arm.com>
List: current-users
Date: 03/01/1999 10:50:05
cjones@rupert.honors.montana.edu said:
> >Description: NetBSD has had a problem with find and rm in the daily
> script for a while.  As I understand it, the issue is a race
> condition:  Find is trying to remove files that match certain
> criteria, but there is a race condition between the time when it runs
> stat on a file and when it (or rm) unlinks the file. 

Have I missed something?  I can't see the problem here.  rm will remove 
the symlink not the file pointed to (unless some magic options are being 
used with rm).