File permissions determine who can read, change or execute files on your hosting account. This guide explains how to inspect and change them in cPanel’s File Manager.

Understand the settings

The permission classes are User (the owner), Group (members of the file’s group) and World/Other (everyone else). Group does not mean other files in the same folder.

For files, read allows reading, write allows modification and execute allows running executable code. For directories, execute permits traversal, while read and write control listing and changes subject to the other permissions.

Common starting values are 644 for ordinary public files and 755 for directories, but the correct values depend on ownership, the application and the server’s execution model. Scripts and private configuration files may need different permissions.

Change a file or folder

  1. Open Files > File Manager and locate the correct item.

    locate the folder or file

  2. Record its current permissions and select Permissions or Change Permissions.

    click the Permissions

  3. Set only the access required, using the checkboxes or numeric field.

    view the permissions

  4. Select Change Permissions and test the affected website function.

Restore the recorded values if the change causes problems and check file ownership with your administrator.