Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpcupt1!hpisod2!decot
From: decot@hpisod2.HP.COM (Dave Decot)
Newsgroups: comp.unix.wizards
Subject: Re: Bug in Ultrix2.0?
Message-ID: <14020002@hpisod2.HP.COM>
Date: Wed, 2-Dec-87 20:56:31 EST
Article-I.D.: hpisod2.14020002
Posted: Wed Dec  2 20:56:31 1987
Date-Received: Sun, 6-Dec-87 10:34:22 EST
References: <6760@brl-smoke.ARPA>
Organization: Hewlett Packard, Cupertino
Lines: 13

> In article <10617@brl-adm.ARPA> "oread::barbanis"@CS-UMASS.arpa writes:
> >However, it does not work on Sun Unix 4.2, not even if you are the
> >superuser (no, it is not NFS; I tried it on the server).  Unlink
> >returns [EPERM] if you try it on a directory.  So what's wrong?
> 
> Systems that have a decent rmdir() system call do not need to allow
> unlink() to succeed on a directory.  Apparently Sun is in this category.

And a decent rename() call.  You would still need unlink() to move directories
from here to there if you didn't have rename().

Dave Decot
hpda!decot