View Single Post
Old 10-25-2005, 02:50 AM  
rickholio
Confirmed User
 
Industry Role:
Join Date: Jan 2004
Location: Nor'easterland
Posts: 1,914
Quote:
Originally Posted by mkx
I have over 1000 subfolders of a directory that I need to chmod to 777, how do I do this in putty?
If you want to set EVERYTHING to 777, you can just
Code:
chmod -R 777 /path/to/directory
If you want dirs only set to 777, use this:

Code:
find /path/to/directory -type d -exec chmod 777 {} \;
The space-backslash-semicolon ' \;' at the end there is important, so don't change the spacing or leave out the slash.

HTH. HAND.
__________________
~
rickholio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote