Below commands can be used to check file and diretcory permissions under the present working diretcory (pwd)
* Check files with permission 755
root@master [~]# find $x -type f -perm 755
* Check files with permission 777
root@master [~]# find $x -type f -perm 777
* Check diretcory with permissions 777
root@master [~]# find $x -type d -perm 777
* Check diretcory with permissions 000
root@master [~]# find $x -type d -perm 000
You can change the permissions to the value you you want to search.
No comments:
Post a Comment