Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2001 08:22:20 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Trevin Chow <trevin@mail.com>
Cc:        questions@freebsd.org
Subject:   Re: Can't delete an empty directory?
Message-ID:  <20010304082220.G50696@wantadilla.lemis.com>
In-Reply-To: <5.0.2.1.2.20010301202957.0254ccd0@mail.brightmail.com>; from trevin@mail.com on Thu, Mar 01, 2001 at 08:33:06PM -0800
References:  <5.0.2.1.2.20010301202957.0254ccd0@mail.brightmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thursday,  1 March 2001 at 20:33:06 -0800, Trevin Chow wrote:
> For some reason I cannot remove a directory even though there are no files
> in it.  I recently had to run "fsck" manually as my machine had a "kernel
> panic" .  These events must be related.  Here's some output of what's happened:
>
> /usr/ports/textproc/aspell/work/aspell-.33/scowl/r # ls -al
> total 2
> drwxr-xr-x  3 500  500  512 Mar  1 20:30 ./
> drwxr-xr-x  3 500  500  512 Mar  1 20:30 ../
>
> /usr/ports/textproc/aspell/work/aspell-.33/scowl # rmdir r
> rmdir: r: Directory not empty
>
> Any ideas what might be causing this?

It could be another process with cwd set to this directory.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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