ok, but "rm -rf ~" is pretty destructive too!

decode for non unix users: ~ is a wildcard that substitutes for the
current user's home directory, whatever that is.

On Wed, 2004-05-19 at 17:00, Anders Hultman wrote:
> On Wed, 19 May 2004, John Francis wrote:
> 
> > Anyone can *try* rm -rf / 
> > The root user would succeed in deleting everything.  A regular user
> > wouldn't be able to delete the OS itself, but would be able to wipe
> > out all their own data files.  That's devastating enough :-(
> 
> A regular user wouldn't actually be able to delete anything with the
> infamous "rm -rf /" command. Not even her own files. The delete-everything
> attempt starts at the top directory, but a regular user has no permissions
> to delete anything in that directory, so the recursion stops there.
> 
> The user won't get to delete files in /home/username since she can't
> delete /home to begin with.
> 
> anders
> -------------------------
> http://anders.hultman.nu/
> med dagens bild och allt!
> 

Reply via email to