From owner-freebsd-hackers Sat Feb 3 12:49:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.unixathome.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 4A0BE37B4EC for ; Sat, 3 Feb 2001 12:49:26 -0800 (PST) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ns1.unixathome.org (8.11.1/8.11.1) with ESMTP id f13KUAR06325; Sun, 4 Feb 2001 09:30:10 +1300 (NZDT) (envelope-from dan@langille.org) Message-Id: <200102032030.f13KUAR06325@ns1.unixathome.org> From: "Dan Langille" Organization: novice in training To: Greg Black Date: Sun, 4 Feb 2001 09:49:19 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Trailing slashes and rmdir - POLA broken Reply-To: dan@langille.org Cc: hackers@freebsd.org In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 4 Feb 2001, at 6:46, Greg Black wrote: > Observe the following: > > $ uname -rs > FreeBSD 4.1-RELEASE > $ ls -l > $ mkdir foo > $ ln -s foo bar > $ rmdir bar > rmdir: bar: Not a directory I'm quite sure that rm bar will work. Have you tried rmdir ./bar? -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message