This article explains how to change permissions of files and folders in cPanel securely, using the File Manager.
What are permissions? They define who can read, write, and execute a file or folder. In Linux hosting they are expressed with numbers (e.g. 644, 755).
Recommended values (usual use)
| Element | Suggested permission | Reason |
|---|---|---|
| Web files (.html, .php, .css, .js, images) | 644 |
Public read; write owner only. |
Folders (public_html, subfolders) |
755 |
Allows listing and accessing content. |
| Specific executable scripts (e.g. CGI) | 755 |
Only when the script must execute. |
Avoid 777 permissions: they grant read/write/execute to everyone and are a security risk. Use them only if support explicitly tells you to.
Change permissions from the File Manager
- Log in to cPanel → Files → File Manager.
- Browse to the file or folder.
- Click on the numerical value in the Permissions column.

- Modify the checkboxes (Owner / Group / World) or the number directly.
- Save the changes.
Alternative: right-click
Select the file or folder → right-click → Change Permissions (Cambiar permisos).
When to change permissions
- The site shows 403 Forbidden on folders → check folder permissions (
755). - Error writing files (WordPress, CMS) → sometimes requires specific adjustment in
wp-content; do not change the whole hosting to 777. - After uploading files via FTP → if they remained at 600 or 640, correct to
644/755.
What not to modify
- Do not change permissions in system folders:
mail,etc,tmp. - Do not apply massive changes across the entire account without knowing what you are correcting.
- Do not use 777 as a general solution.
Frequently asked issues
- 500 error after changing permissions: restore 644 on files and 755 on folders inside
public_html. - 403 on a folder: the folder may have 700; try 755.
- WordPress asks for special permissions: adjust only the folders that require it (
wp-content/uploads, etc.).
If the site became inaccessible after changing permissions, open a ticket from the client portal or consult through the site's online chat.
