using chmod -R to set different permissions for files vs. directories
Initially, I thought I wanted to to reset all files in a directory tree to 660 permissions. After issuing the command:
chmod -r 660 some_directory
I soon discovered that I actually wanted to set all the files to 660 and the directories to 770.
Is there an easy way to accomplish this other than manually?
Last edited by ojbyer@usa.net; 12-14-2005 at 02:12 PM.
Reason: make title more clear
|