[geeks] chown usage and dot files
Phil Stracchino
alaric at caerllewys.net
Fri Jan 23 11:34:53 CST 2004
On Fri, Jan 23, 2004 at 12:25:26PM -0500, Kevin wrote:
> Any one know how to tell chonw/chmod/chgrp how to also affect dot
> files as well as others? I know the "-R" option is for recursive but
> it ignores anything that is .*
It shouldn't. How are you invoking it?
If you have a directory foo containing files .foorc, bar and baz, and
you chown or chmod -R foo/*, then obviously that won't pick up
foo/.foorc. But if you chmod or chown -R foo, then it should pick up
everything within foo, including .foorc.
If you want to chown/chmod everything including dotfiles without doing
the parent directory as well, then try this:
chmod -R 644 * .??*
--
.********* Fight Back! It may not be just YOUR life at risk. *********.
: phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
: alaric at caerllewys.net|alaric-ruthven at earthlink.net|alaric at novylen.net :
: 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) :
: Linux Now! ...Because friends don't let friends use Microsoft. :
More information about the geeks
mailing list