Chmod file, directory in linux

For directories only do this.

Code:
find . -type d -exec chmod 775 {} \;
For files only do this.
Code:
find . -type f -exec chmod 664 {} \;

Post a Comment