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,

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.