Search for 777 Directories of Common Name

By | 2013/02/05

With a simple find command, it is possible to locate similar named directories that are 777. I’ll show you how!

This will identify public_html directories under /home that are 777:

$ sudo find /home -name 'public_html' -type d -perm 777 

Alter as desired, for example:

$ sudo find /var/www/ -name 'httpdocs' -type d -perm 777

Hack on,