777. The most liberal they should ever be is
After you upload your files, you’ll want to make sure ownership permissions are set to Apache so that Wordrpess can update and/or install plugins without requiring FTP credentials. You can set permissions via SSH.
Single site hosting:
chown -R apache:apache /var/www/html
Multi site hosting:
chown -R apache:apache /var/www/
You may need to do this whenever uploading folders.