Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!ccicpg!felix!zemon
From: zemon@felix.UUCP (Art Zemon)
Newsgroups: comp.unix.wizards
Subject: Re: Bug in Ultrix2.0?
Message-ID: <15280@felix.UUCP>
Date: Fri, 4-Dec-87 16:45:21 EST
Article-I.D.: felix.15280
Posted: Fri Dec  4 16:45:21 1987
Date-Received: Thu, 10-Dec-87 05:07:20 EST
References: <10570@brl-adm.ARPA>
Sender: daemon@felix.UUCP
Reply-To: zemon@felix.UUCP (Art Zemon)
Organization: FileNet Corp., Costa Mesa, CA
Lines: 16

In article <10570@brl-adm.ARPA> "oread::barbanis"@CS-UMASS.arpa writes:
>Subject: Bug in Ultrix 2.0 ?
>If you are a superuser and do unlink("foo"), it always unlinks,
>even if foo is a directory, and even if this directory is not
>empty.

This isn't a bug in Ultrix, the same "problem" also existed
in 4.2 BSD (the only other system on which I, ahem, tested
it).  I could argue that if the superuser says unlink it, he
means it and the kernel should not forbid it.  Regular users
are protected from such folly.
--
	-- Art Zemon
	   By Computer:	    ...!hplabs!felix!zemon
	   By Air:	    Archer N33565
	   By Golly:	    moderator of comp.unix.ultrix