Hi!

Oystein Viggen <[EMAIL PROTECTED]> wrote:
> With this patch, translators that present themselves as directories are
> simply not touched by rm, beyond a necessary lstat(), and a warning
> message is presented to the user.  I believe that the code already
> present in rm to prevent symlink race attacks should also be enough to
> prevent similar translator attacks.

At least with the -f option, this behaviour should not occur, because
one might actually _want_ to remove everything. Maybe there should also
be an additional option (say, -t) for this, so that both

rm -r foo/
rm -rft foo/

would skip translated directories.

Cheers,
GNU/Wolfgang


-- 
Wolfgang Jährling  <[EMAIL PROTECTED]>  \\  http://stdio.cjb.net/
Debian GNU/Hurd user && Debian GNU/Linux user \\  http://www.gnu.org/
The Hurd Hacking Guide: http://www.gnu.org/software/hurd/hacking-guide/
["We're way ahead of you here. The Hurd has always been on the    ]
[ cutting edge of not being good for anything." -- Roland McGrath ]

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to