Subject: Re: security/7060: find and rm
To: None <richard.earnshaw@arm.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 03/01/1999 13:47:08
On Mar 1, Richard Earnshaw wrote
> 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).
> 

The problem is if you remplace a directory with a symlink to another directory.
rm may then remove entries from the target directory, before removing
the symlink.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--