This article provides you with steps to update cPanel file permissions.
All files and directories in Linux Operating System has access permissions. This feature gives the ability to the user for setting up different access levels for each user and also Operating system gets the ability to deal with different request for accessing the file. This feature makes system more secure to potential security threats.
There are three types of access permissions:
Read − It is denoted by ‘r’ and number 4, it gives ability to the user for reading the file only.
Write − It is denoted by ‘w’ and number 2, it gives ability to the user for writing into the file only.
Execute − It is denoted by ‘x’ and number 1, it gives ability to user for executing the file only.
Access permissions can be given in groups too, for example, if we want to give a file to read and write permission only, we can assign ‘rw–‘ to that file or in numerical form, we can assign number 6 – as 4 for read and 2 for write equals to 6.
These access permissions are given to three types of users :
User − It is owner of the file.
Group − It is the group of users in which Owner lies.
World − It is referred to everyone else.
Changing File Permissions in cPanel
Step 1- Login to cPanel
- Please see our article on logging into cPanel here.
Step 2 - Click on File Manager under your Files section.
Step 3 − Navigate to the File or Folder you wish to change permissions to and select the file or folder by a single right click of the mouse.
- Click on Change Permissions
Step 4 − Update the file permissions and click Change Permissions