From owner-freebsd-questions@FreeBSD.ORG Tue Apr 12 22:31:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 852F716A4CF for ; Tue, 12 Apr 2005 22:31:32 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F74D43D46 for ; Tue, 12 Apr 2005 22:31:32 +0000 (GMT) (envelope-from garciarojas@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so3094326wra for ; Tue, 12 Apr 2005 15:31:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XK9n1Co3zpJfMS86u9iEI3P+Y5BnLUSIIT6I7WvR8kq4bFpe/rxPfM+fdTAOrPX6T6zIAxStHREl/xXoGsF0ldMNvdv+cXGp68Q1x+C/Tuj8BEFwg0J5/CRARXlINCmVVgYEokpyv5NyvsojU49nFSNOd8Jn3tWebz01tGZtIKY= Received: by 10.54.55.6 with SMTP id d6mr3517969wra; Tue, 12 Apr 2005 15:31:31 -0700 (PDT) Received: by 10.54.95.11 with HTTP; Tue, 12 Apr 2005 15:31:31 -0700 (PDT) Message-ID: <397b2cad05041215313214fe06@mail.gmail.com> Date: Tue, 12 Apr 2005 17:31:31 -0500 From: Guillermo Garcia-Rojas To: f-questions In-Reply-To: <425C4834.2090909@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <425C4834.2090909@gmail.com> Subject: Re: Can't remove empty directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Guillermo Garcia-Rojas List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 22:31:32 -0000 move it, I just had an issue like that cd /usr/ports/accessibility mv gail gail2 (in example) then you cvsup the ports again and it's done. On 4/12/05, Robert Marella wrote: > Greetings >=20 > I think this problem occurred during "portmanager -u" but I can't be > certain. Portmanager did a core dump this morning. I tried a portsclean > -CD and /usr/ports/accessibility/gail/work cannot be removed. Here is > what I have tried. >=20 > p4# cd /usr/ports/accessibility/gail > p4# ls -l > total 14 > -rw-r--r-- 1 root wheel 920 Apr 12 02:21 Makefile > -rw-r--r-- 1 root wheel 109 Apr 12 02:21 distinfo > drwxr-xr-x 2 root wheel 512 Nov 10 20:16 files > -rw-r--r-- 1 root wheel 211 Apr 4 2004 pkg-descr > -rw-r--r-- 1 root wheel 2667 Apr 12 02:21 pkg-plist > drwxr-xr-x 3 root wheel 512 Apr 12 10:06 work > p4# rm -r work > rm: work/gail-1.8.3/gail: Directory not empty > rm: work/gail-1.8.3: Directory not empty > rm: work: Directory not empty > p4# cd work/gail-1.8.3/gail/ > p4# ls -la > total 0 > p4# cd .. > p4# ls -la > total 4 > drwxr-xr-x 3 root wheel 1024 Apr 12 10:06 . > drwxr-xr-x 3 root wheel 512 Apr 12 10:06 .. > drwxr--r-- 4 root wheel 0 Apr 12 09:51 gail > p4# chflags -R noschg gail > p4# rm -r gail > rm: gail: Directory not empty > p4# rm gail > rm: gail: is a directory > p4# rmdir gail > rmdir: gail: Directory not empty > p4# >=20 > The obvious problem is that the number of links is incorrect but I don't > know how to make that right. >=20 > Any help is greatly appreciated. >=20 > Robert > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 --=20 --- Guillermo Garc=EDa Rojas Covarrubias Director General=20 SoloBSD http://www.solobsd.org