From owner-freebsd-questions Fri Dec 20 5:36: 7 2002 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 009E437B401 for ; Fri, 20 Dec 2002 05:36:06 -0800 (PST) Received: from fry.serversaint.com (fry.serversaint.com [162.42.131.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97F2C43EE6 for ; Fri, 20 Dec 2002 05:36:05 -0800 (PST) (envelope-from andrew@1stelement.com) Received: from cpe-144-132-174-149.nsw.bigpond.net.au ([144.132.174.149] helo=[192.168.0.106]) by fry.serversaint.com with esmtp (Exim 3.36 #1) id 18PNK0-0002iK-00; Fri, 20 Dec 2002 13:36:13 +0000 Subject: Re: chown broken?? From: Andrew Cutler To: setantae@submonkey.net Cc: freebsd-questions@freebsd.org In-Reply-To: <20021220132634.GA6498@submonkey.net> References: <1040390551.921.36.camel@localhost> <20021220132634.GA6498@submonkey.net> Content-Type: text/plain Organization: Message-Id: <1040391396.921.43.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 21 Dec 2002 00:36:36 +1100 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - fry.serversaint.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - 1stelement.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I realise that now, but why does chown not ignore the match since most other commands simply return? . is a directory -- ignored .. is a directory -- ignored This inconsistency is not logical. On Sat, 2002-12-21 at 00:26, Ceri Davies wrote: > On Sat, Dec 21, 2002 at 12:22:32AM +1100, Andrew Cutler wrote: > > Hello > > > > > > > > I just hosed one of my boxes by recursively setting all my file > > permissions incorrectly: > > > > $ su > > $ cd /data > > $ chown -R andrew:wheel * > > $ chown -R andrew:wheel .* > > That matches "..". > > Ceri -- Andrew Cutler To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message