The following commands reset all your files and directories back to the server defaults of 755 and 644.
find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \;