i find on google
Use chmod -R 755 /usr/local/bin if you want to change permissions of all files and directories at once.
Use find /usr/local/bin -type d -exec chmod 755 {} \; if the number of files you are using is very large. ...
Use chmod 755 $(find /path/to/base/dir -type d) otherwise.
i think this is right method