'chown' and hidden directories
Ben Duncan
bns
Thu Feb 17 17:40:11 PST 2005
YOu can GO up one directory, lets say you are in /home/imauser
then
cd /home
chown -R imauser:users /home/imauser
and it WILL get anything sub to /home/imauser, hidden or not ...
Aakin N. Patel wrote:
> : >chown -R michael: .*
> :
> : I tried that. It does bad things as it also does '.' and '..'.
>
> I usually do "chown -R .???*" - that takes care of it.
> It won't do any hidden directories with names of less than
> two characters, but I don't have any, so it's okay for me.
> Might not be applicable in all cases.
>
> - Aakin
> :
> : Thanks,
> : Michael
> : _______________________________________________
> : Linux-users mailing list
> : Linux-users at linux-sxs.org
> : http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
> :
> : Need to chat further on this subject? Check out #linux-users on
> : irc.linux-sxs.org !
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
>
> Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
>
> .
>
--
Ben Duncan - VersAccounting Software LLC 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
More information about the Linux-users
mailing list