Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!umd5!mimsy!chris
From: chris@mimsy.UUCP (Chris Torek)
Newsgroups: comp.unix.wizards
Subject: Re: Bug in Ultrix2.0?
Message-ID: <9560@mimsy.UUCP>
Date: Sun, 29-Nov-87 09:02:29 EST
Article-I.D.: mimsy.9560
Posted: Sun Nov 29 09:02:29 1987
Date-Received: Tue, 1-Dec-87 06:06:23 EST
References: <10570@brl-adm.ARPA>
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
Lines: 11

In article <10570@brl-adm.ARPA> "oread::barbanis"@CS-UMASS.arpa writes:
>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 is not a bug.  This is a feature.  How else are you going to
remove an extra link to a directory when a directory somehow acquires
one (disk glitch, kernel bug, or whatever)?
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
Domain:	chris@mimsy.umd.edu	Path:	uunet!mimsy!chris