Skip site navigation (1)Skip section navigation (2)
Date:      21 Dec 2002 00:36:36 +1100
From:      Andrew Cutler <andrew@1stelement.com>
To:        setantae@submonkey.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: chown  broken??
Message-ID:  <1040391396.921.43.camel@localhost>
In-Reply-To: <20021220132634.GA6498@submonkey.net>
References:  <1040390551.921.36.camel@localhost> <20021220132634.GA6498@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrew@1stelement.com>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1040391396.921.43.camel>