[CentOS] Re: chown command goof up
Adam Thompson
athompson at sjsd.netTue Feb 13 16:43:01 UTC 2007
- Previous message: [CentOS] Re: chown command goof up
- Next message: [CentOS] chown command goof up
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CentOS mailing list <centos at centos.org> writes: >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> A much easier concept would be to: chown -R user2:user2 ~user2 which will implicitly recurse through that directory. There's normally no reason the user's home directory itself shouldn't be owned by the user. -Adam Thompson Divisional IT Department, St. James-Assiniboia School Division 150 Moray St., Winnipeg, MB, R3J 3A2 athompson at sjsd.net / tel: (204) 837-5886 x222 / fax: (204) 885-3178 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070213/2adb5452/attachment-0001.html>
- Previous message: [CentOS] Re: chown command goof up
- Next message: [CentOS] chown command goof up
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list