How to Change The File Permission in cPanel?

Files and folders inside your Hosting account will have permissions that control the read, write and execute operations in Linux.

  • Read: Read access allows the file to be viewed by the user. The read permission is indicated with 'r' or number 4.
  • Write :Write access allows file modified by the user. The write permission is indicated with 'w' or number 2.
  • Execute :Execute access allows running programs by the user. The execute permission is indicated with 'x' or number 1.

Read, Write and Execute permissions can be set for the following 3 user groups.

  • User: owner of the file.
  • Group: Other users of same group belongs.-- User of the same group where this file is located.
  • World: Access for everyone who is not in the group.

Providing full permission of a file is a combination of permissions and access types. In cPanel, you will find the file permission with 644 number. For the user Read permission value of 4 and write the value of 2 equals total 6. Also, the same file has read permissions with group and world. Hence, the total value of that file is 644. As Directory needs to be run by everyone (other users), we need to provide 755 permissions.

Following are the steps to change the file permission on cPanel.

  1. Login to your cPanel account.

  2. Go to the File Manager.



  3. Select the required file or directory which permission you are looking to change.



  4. Provide appropriate permissions to your files/directory as we have understood above and click on Change permissions.



  5. You can view the given file permissions as per the below images.



Related Articles

A subdomain that I have created isn't working.

Please note that subdomain requires DNS propagation and it may take upto 24 hours. If DNS...

How Much Email Disk Space Do I Get With Shared Hosting Plans?

Linux Shared Hosting   With Linux Shared Hosting plans, you don't have separate email...

How do I change document root folder to some sub-folder using an .htaccess file?

By default, the web-contents of your website will be loaded from the public_html directory. If...

What is Entry Process Limit in Linux Shared Hosting?

An Entry Process is the number of PHP scripts you can run at a time. Our Shared Hosting and...

Do you provide SFTP in Linux Shared Hosting Plans?

No. We do not provide SFTP (Secure FTP over SSH). However, we support, FTPS (FTP over explicit...

  • 0 Users Found This Useful

Was this answer helpful?