Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 15:24:05 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: chown  broken??
Message-ID:  <20021220212405.GA1963@dan.emsphone.com>
In-Reply-To: <20021220212057.GB75223@gothmog.gr>
References:  <20021220123728.S52840-100000@cactus.fi.uba.ar> <BA28B451.56C2%kkb@breathhost.net> <20021220200053.GA89493@dan.emsphone.com> <20021220212057.GB75223@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 20), Giorgos Keramidas said:
> On 2002-12-20 14:00, Dan Nelson <dnelson@allantgroup.com> wrote:
> > In the last episode (Dec 20), Kurt Bigler said:
> > > I don't know zsh, but if it has a setting that prevents wildcard
> > > expansion from including .. as a match for .* that strikes me as an
> > > all-around good thing.
> >
> > zsh's rules are that no filename generation pattern ever matches the
> > files `.' or `..'.  There is also a GLOB_DOTS option that when set
> > makes * match files starting with a dot as well.  You can enable
> > GLOB_DOTS for a single pattern by using a glob qualifier: *(D)
> 
> That's no good either.  How does someone `chmod 700 .' with zsh then?

`chmod 700 .', of course :)  The rule only applies to wildcards (i.e.
filename generation patterns).

-- 
	Dan Nelson
	dnelson@allantgroup.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?20021220212405.GA1963>