In this tutorial, we’ll explain how to change file permissions in cPanel. File permissions enable operating systems to understand how requests to access files should be handled.
There are three levels of file permission, these are read, write and execute. The Read permission allows a file to be read, the Write permission enables a file to be modified and the Execute permission allows a file to be executed.
Requests to read, write or execute can come from the user as well as other programs and files which need to access the file. This latter group includes requests sent over the internet that allow users to access a website.
To provide greater control, those requesting access are divided into three separate categories, allowing you to grant read, write and execute permissions separately for each. These categories are user, group and world. User permissions control what the file’s owner can do, Group permissions control what other files and programs in the folder can do and World permissions control the access of everyone else.
A web server, for example, needs to read a website’s pages so that it can display them in a user’s browser. For your website to work correctly, therefore, the following permissions will need to be set.
To change file permissions in cPanel, follow these steps:
1. Log in to cPanel
2. Scroll to the Files section and click on the File Manager icon.
3. In File Manager, locate the folder or file whose permission you wish to change.
4. Next, select the file or folder you want to change by clicking its name. Once it is highlighted in blue, click the Permissions button (with the key icon) in File Manager’s top menu.
5. A dialog box will then open where you can see the existing permissions for that file or folder.
6. The three categories, User, Group and World, are displayed across the top and their Read, Write and Execute permissions are in the columns underneath. A highlighted checkbox indicates that permission has been granted.
7. To change permissions, check or uncheck the required boxes. When you do this, the permission value numbers at the bottom will automatically update.
8. Once you have made your changes, click on the Change Permissions button to save the new permission settings.
9. Do remember that if permissions are modified incorrectly, it could affect the functionality of your website.
For more information on how to use cPanel, visit our Knowledgebase.
Powered by BetterDocs
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.