Subject: Re: kern/1043: unlink(2) should not let superuser remove directories
To: None <netbsd-bugs@NetBSD.ORG>
From: Peter Seebach <seebs@solon.com>
List: netbsd-bugs
Date: 05/15/1995 07:43:40
Well, if unlink() can't remove directories, than link() shouldn't be
able to link them.  I think it's sane for unlink() to hit directories solely
because they are (so far as I can tell) links just like any other, except
that they contain different data, and have a different mode bit set.

-s