From owner-freebsd-questions@FreeBSD.ORG Thu Jul 22 00:26:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DF9D1065677 for ; Thu, 22 Jul 2010 00:26:21 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D8C4F8FC08 for ; Thu, 22 Jul 2010 00:26:19 +0000 (UTC) Received: by wwe15 with SMTP id 15so2557340wwe.31 for ; Wed, 21 Jul 2010 17:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=gEQNJAT7czOLoc7/KyZDqwziaJ0vJ1fOCvJYbu/phGw=; b=ggIMqh/RUBF7p9M5EPfVy7XcQiJxxioke5bXyP3jfnB26ABcQmMiTc+eHcoaeo5TR7 VkbVlhlgegw59kMLqu4OkAERAhXNLqBr2VDyjPFl+o21+6KiWaw9BVDZNYUScCkL/wiG tNXhgQiSSPrCRIyF3xUo/CyKlcgxhqFBMlDrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZADNUmEIbqdVv7kKWVjr0r0u6XQy3K6ZoFdHhpMqJQludMqxuIJfWVjKtlbety/XzZ 6oB1NnHCkomEVCreW7KB9Oyu5YmD2BtuUJqOkL2uHCulOVhaDp4QM9TCQA4jOE6kvYzi kK7yp3fAQEP53Nlmo45k/MkIG3e2Ho1gQofUs= MIME-Version: 1.0 Received: by 10.216.68.141 with SMTP id l13mr984678wed.0.1279758378599; Wed, 21 Jul 2010 17:26:18 -0700 (PDT) Received: by 10.216.17.71 with HTTP; Wed, 21 Jul 2010 17:26:18 -0700 (PDT) In-Reply-To: <4C46BBCE.2080601@netfence.it> References: <4C46BBCE.2080601@netfence.it> Date: Wed, 21 Jul 2010 20:26:18 -0400 Message-ID: From: "illoai@gmail.com" To: Andrea Venturoli Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Strange filesystem problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2010 00:26:21 -0000 On 21 July 2010 05:20, Andrea Venturoli wrote: > Hello. > > I'm experiencing a strange problem on a 7.2p8/i386 box. > This is not critical, since I have a workaround, but it's annoying and I'm > also curious :-) > > Let's say I have directory "foo"; under "foo" I have "bar" which keeps > thousands of files (in several subdirectories). > > I do: > > %cd /xyzzy/foo > %pwd > xyzzy/foo > %rm -fR bar > %pwd > pwd: .: Permission denied > %cd .. > %cd foo > %pwd > xyzzy/foo > > This is a local UFS filesystem, so it shouldn't be a network problem; no > error shows up in the logs; in "bar" I don't have any symlink or special > node, only plain files and directories. > > What should I check? > I note that /bin/[t]csh uses the external /bin/pwd whereas /bin/sh has it as a builtin. I know (virtu- ally) nothing about bash nor zsh. I would, in any case, suspect the shell, and try at least one other variation. I can't replicate your behaviour here. -- --