File permissions - markhowellsmead/helpers GitHub Wiki

Correct for WordPress

The first command fixes the permissions on the files (because of the f attribute). The second fixes the permissions on the folders (directories) (d).

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;