ChMod (short for "change mode") is used to change the permissions for files and directories. There are several different ways that you can chmod your files and folders.
This is often separated into three types of users:
- user - the owner of the file
- group - users who are members of the file's group
- world - anyone that is not the user or in the same group as the user
You also have three different types of permissions:
- read - this will allow files and folders to be read by an assigned user group
- write - with this permission you you would be given write access to a user group
- execute - a user group with with this permission have execute access to a file or folder.
How To Change File/Folder Permissions?
- Log into the cPanel and click on the File Manager.
- Navigate to the folder/file you want to change permissions on.
- Click on the folder/file name (not the folder/icon beside it).
- Click on "change permissions" that will appear in upper right.
- Change to 755 (generally for folders) or 644 (generally for files). Click on change.
In most cases you shouldn't chmod to 777 for security reasons. All files on your account are owned by your user name. Setting permissions to 777 may lead to internal server errors Please try to use permissions of 755 instead.
See here for more information: https://en.wikipedia.org/wiki/Chmod