On a CentOS server, I usually fix this problem using chmod -R 755 public_html from the current cPanel user interface.
For instance:
chmod -R 755 /home/{cp_username}/public_html/
There is also an alternative method executed using the cPanel GUI:

Kunok source share