...
To change permission for directory by 0775
Code Block |
---|
find ./ - type d -exec chmod -v 0775 {} \; |
To change permission for some files like "*.php"
Code Block |
---|
find ./ -type f -name "*.php" -exec chmod 0664 -v 0664 {} \; |
To change permission except some files like "*.log"
Code Block |
---|
find ./ -type f \! -name "*.log" -exec chmod 0664 -v 0664 {} \; |