One easy and basic way to change permissions is File Manager in cPanel. To change the permissions of a file or folder in cPanel, please do the following:
After accessing cPanel, you can edit the folder/file you want to allow under Files > File Manager > the directory where your website works, click the Permissions column, then type (0755 if you are going to make chmod e.g. 755) and click the Save (Save) button.