Re: Re: chown command goof up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Scott Silva wrote:
I don't know of an easy way to fix this. Root is dangerous!
Guns aren't dangerous.  People are dangerous.

Anyway.  In case one wanted to do a little chown'ing above and beyond
the scope of most necessity again, the proper way to deal with the -R recursion
nightmare is by executing it on .??* and ??*.

That will, of course skip anything that has a 2-character name, but that's usually
okay, because it will keep you from recursively chown'ing "..".

Just in case nobody comes out and says it..

Peter

--
Peter Serwe <peter at infostreet dot com>

http://www.infostreet.com

"The only true sports are bullfighting, mountain climbing and auto racing." -Earnest Hemingway

"Because everything else requires only one ball." -Unknown

"Do you wanna go fast or suck?" -Mike Kojima

"There are two things no man will admit he cannot do well: drive and make love." -Sir Stirling Moss

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux