Step::1 Login to cPanel and open File Manager
Steps::2 Scroll over public_html and right click on it and choose Change Permissions option
Step::3 Set the permissions to 0750.
Step::4 All folders inside the public_html folder should have 0755 permissions.
Step::5 All files inside the public_html folder should have 0644 permissions.
In this way you can setup file permissions of any file in cPanel.
Visit our Blog for more details. You can also watch the video here.