Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2001 09:49:19 +1300
From:      "Dan Langille" <dan@langille.org>
To:        Greg Black <gjb@gbch.net>
Cc:        hackers@freebsd.org
Subject:   Re: Trailing slashes and rmdir - POLA broken
Message-ID:  <200102032030.f13KUAR06325@ns1.unixathome.org>
In-Reply-To: <nospam-3a7c6e285f01132@maxim.gbch.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102032030.f13KUAR06325>