WordPress - bulk fix of file and directory rights - shell
Bulk file rights fix for WordPress, from a shell in the required directory:
# recursively finds directories and changes permissions for them
find ./ -type d -exec chmod 755 {} \;
# recursively finds files and changes permissions for them
find ./ -type f -exec chmod 644 {} \;