Check file and directory permissions under present working directory
Posted by adminMay 26
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.























44 comments