From owner-freebsd-questions@FreeBSD.ORG Wed Jul 21 12:00:31 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 933E91065679 for ; Wed, 21 Jul 2010 12:00:31 +0000 (UTC) (envelope-from ahamiltonwright@mta.ca) Received: from smtpy.mta.ca (smtpy.mta.ca [138.73.1.139]) by mx1.freebsd.org (Postfix) with ESMTP id 63A348FC2E for ; Wed, 21 Jul 2010 12:00:31 +0000 (UTC) Received: from [138.73.29.51] (port=49181 helo=qemg.org) by smtpy.mta.ca with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1ObXyP-0002Lg-6f; Wed, 21 Jul 2010 09:00:29 -0300 Date: Wed, 21 Jul 2010 09:00:29 -0300 (ADT) From: "A. Wright" To: Andrea Venturoli In-Reply-To: <4C46BBCE.2080601@netfence.it> Message-ID: References: <4C46BBCE.2080601@netfence.it> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: ahamiltonwright@mta.ca 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: Wed, 21 Jul 2010 12:00:31 -0000 On Wed, 21 Jul 2010, Andrea Venturoli wrote: > 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 At this point, I would suspect that you may have the UCHG flag set. What do: ls -lod /xyzzy/foo/bar and ls -lo /xyzzy/foo/bar say? Check the chflags(1) man page for some descriptions and also how to change/remove the flags if present.