How you can change the permissions of your files and folders in your cPanel account


In Linux shared hosting platform,default permissions were assigned to all files and folders at the time of their creation.

Mainly three types of permissions are used in Linux shared hosting:


644(read & write-read)it allows the owner to perform read and write functions and allow users to read the file.

These permissions are applied on all folders including directory and CGI/Perl Scripts.

755(read,write & execute-read & execute)it allows the owner to perform read, write and execute functions and allow users to read and execute the file.

These permissions are applied on all the files including non-scripting files,.HTML files, .php files and images.

777(read,write & execute)it allows the all unauthorized users to perform read, write and execute functions on owner’s files and folders.

These permissions are restricted and not recommended on shared hosting platform as these allow anyone to make in all the files of the owner.

For changing the permissions of your files and folders in your cPanel you need to follow the below mentioned steps:

1) Login to your cPanel.

2) Scroll down to Files section and click on “File Manager” icon.

File Manager in cpanel

After clicking on File Manager you will be redirected to a page where a list of files and folders in your hosting account is visible on screen.

3) Now navigate to the file or folder that for which you want to change the permissions and then select that file or folder.


select the file for changing permissions

4) After selecting the file that you want to you can press Change Permissions icon for changing the default permissions.


navigate on change permissions

5) Now after making the changes in the default permissions you need to click on “Change Permissions” button for saving the permissions.


click on change permissions