find . ! -type d -exec chmod 600 {} \;
Change file permissions recursively without affecting directories
Posted by Arsh | Labels: Linux | Posted on Tuesday, May 12, 2009
If you want to change the permissions of the file to 600 without affecting the directories permissions, use the following command:






0 comments:
Post a Comment