Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn
From: gwyn@brl-smoke.ARPA (Doug Gwyn )
Newsgroups: comp.unix.wizards
Subject: Re: Bug in Ultrix2.0?
Message-ID: <6777@brl-smoke.ARPA>
Date: Wed, 2-Dec-87 02:30:14 EST
Article-I.D.: brl-smok.6777
Posted: Wed Dec  2 02:30:14 1987
Date-Received: Sat, 5-Dec-87 09:19:44 EST
References: <10617@brl-adm.ARPA>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) )
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 7

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.