• Portal Home
  • Knowledgebase
  • cPanel
  • cPanel Management
  • How to Change the Permission of Files or Folders via the cPanel File Manager

How to Change the Permission of Files or Folders via the cPanel File Manager

Understanding File Permissions

In cPanel's File Manager, every file and directory has permissions that determine who can access and modify them. Here’s a simple way to understand these permissions:

  1. Read (r or 4): Lets you view the file's content.
  2. Write (w or 2): Lets you make changes to the file.
  3. Execute (x or 1): Lets you run the file as a program or access the directory.

Permissions are assigned to three groups:

  • User: The file's owner.
  • Group: Users who are in the same group as the file.
  • World: All other users.

To find out a file or directory's permissions in cPanel's File Manager, look at the combination of these values. For example:

  • If the file owner can read and write the file, the permission value is 6 (read 4 + write 2).
  • If the group and all other users can only read the file, their permission values are 4 each.

Therefore, a file that the owner can read and write, but everyone else can only read, has a total permission value of 644.


  1. Log into cPanel.
  2. Locate the file or folder in question.
  3. Right-click the file or folder.
  4. Select Change Permissions.
  5. Adjust the permissions from the prompted menu. It uses the full wording for the permissions, read, write, execute. For standard "644" that most files, the first section needs 'read, write', and the other two areas only need 'read'.
  6. Click Change Permissions once done.
Was this answer helpful?