Find all files on server with 777 permissions
I'm looking for a Linux command to go through all the directories on my server and find all files with 777 permission. The output would be a list of all those files with full path.
Use find
:
find / -type f -perm 0777
And if you like to find all files without Permission 0777 then just enter a ! before the perm, e.g.
find / -type f ! -perm 0777