chmod by type (directory and file permission) | |||
| |||
To change permission by type (directory or file), the easiest way can do it is using find command and do something as a follow up action. To change permission for file by 0664,
Note that you should put space between {} and \
To change permission for directory by 0775
To change permission for some files like "*.php"
To change permission except some files like "*.log"
Tags: CentOS7 chmod exec find | |||
| |||
| |||
Login for comment |
SIMILAR POSTS Check network port is open or not on CentOS 7 |
OTHER POSTS IN THE SAME CATEGORY Network diagnostic tool for IPv4/IPv6 - traceroute/traceroute6 |