Subject: Re: kern/1043: unlink(2) should not let superuser remove directories
To: Ted Lemon <mellon@vix.com>
From: Scott Reynolds <scottr@Plexus.COM>
List: netbsd-bugs
Date: 05/15/1995 10:43:07
On Sun, 14 May 1995, Ted Lemon wrote:
> ...famous last words. I think it might be reasonable to say that it
> can be assumed that the superuser knows what it's doing, but that
> doesn't mean that you should overload dangerous functionality on top
> of standard syscalls.
The fact remains that this is historical behavior, not something that
just appeared. Why, I think even my old V7 manuals document link(2) and
unlink(2) on directories for the superuser...
--scott