From owner-freebsd-current Fri Jul 24 16:46:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA27157 for freebsd-current-outgoing; Fri, 24 Jul 1998 16:46:41 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.cable.com (mail.cable.com [198.38.0.27]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA27086 for ; Fri, 24 Jul 1998 16:46:14 -0700 (PDT) (envelope-from jan@cable.com) Received: from korgi (console.cable.com [198.38.2.67]) by mail.cable.com (8.8.7/8.8.7) with SMTP id TAA02285 for ; Fri, 24 Jul 1998 19:45:45 -0400 (EDT) (envelope-from jan@cable.com) Message-ID: <033c01bdb75d$ede15110$c8c8c8c8@korgi.cable.com> From: "Jan T Pajak" To: Subject: Fw: Directory removal problem. Date: Fri, 24 Jul 1998 19:51:07 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is it possible you were playing the game, and left an executing process whose current directory was within the hierarchy you were trying to remove? -----Original Message----- From: Greg Pavelcak To: freebsd-current@freebsd.org Date: Friday, July 24, 1998 7:35 PM Subject: Directory removal problem. >I am running current from about 2 days ago. > >I was moving my ports directory from one disk to another and all >seemed to go well except that the directory ports/games/xpat2 >wasn't removed from the first disk. Even when I try to rm -R as >root, it says: > > rm: /usr/d2/ports/games/xpat2/: Directory not empty > rm: /usr/d2/ports/games: Directory not empty > rm: /usr/d2/ports: Directory not empty > >xpat2 looks empty to me: > > ls -Rl /usr/d2/ports > total 2 > drwxr-xr-x 3 root wheel 2048 Jul 24 18:58 games > > /usr/d2/ports/games: > total 1 > drwxr-xr-x 1 root wheel 512 Jul 24 19:01 xpat2 > > /usr/d2/ports/games/xpat2: > >I always worried that rm -Rf as root was dangerous. Now I can't >even remove an empty directory with it. > >Any ideas? > >Greg > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message