Re: confusing behaviour of the * wildcard when handling "dot" files and dirs.
- From: Allen Kistler <ackistler@xxxxxxxxx>
- Date: Tue, 29 Jul 2008 17:47:38 -0500
Rahul wrote:
I tried going to /home/foouser/ and then doing a 'chown -R foouser *'
It seems to change the ownership recursively for all dirs and files under /home/foouser/ except those starting with a . (dot)
Is this behaviour of the * wildcard by design or am I just missing something here? I'm confused!
You're not missing anything.
That's the design.
It keeps you from changing the current directory, the parent directory, and (in the case of -R) all the children of the parent directory.
.
- Follow-Ups:
- References:
- Prev by Date: confusing behaviour of the * wildcard when handling "dot" files and dirs.
- Next by Date: Re: Which linux version
- Previous by thread: confusing behaviour of the * wildcard when handling "dot" files and dirs.
- Next by thread: Re: confusing behaviour of the * wildcard when handling "dot" files and dirs.
- Index(es):
Relevant Pages
|