From owner-freebsd-questions Sat Mar 3 13:52:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 0D9D437B718 for ; Sat, 3 Mar 2001 13:52:23 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 8EF706A918; Sun, 4 Mar 2001 08:22:20 +1030 (CST) Date: Sun, 4 Mar 2001 08:22:20 +1030 From: Greg Lehey To: Trevin Chow Cc: questions@freebsd.org Subject: Re: Can't delete an empty directory? Message-ID: <20010304082220.G50696@wantadilla.lemis.com> References: <5.0.2.1.2.20010301202957.0254ccd0@mail.brightmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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