You can modify the permissions of files and folders within your cPanel account to control who can read, write, or execute them. This task is performed by the account owner within the cPanel File Manager.
Before you begin
You will need:
A cPanel account
Access to the cPanel File Manager
Changing Permissions in File Manager
Log in to your cPanel account.
Locate the Files section and select File Manager.
Navigate to the directory containing the file or folder you wish to modify.
Select the checkbox next to the file or folder.
Click the Permissions button in the top toolbar.
In the Permissions window, enter the numeric value or select the appropriate permissions from the dropdown menu.
Click Change Permissions.
Warning: Incorrect permissions can make your website inaccessible or create security vulnerabilities. Standard practice is to use 755 for directories and 644 for files.
Confirm the result
The permissions window will close, and the updated permissions will be displayed next to the file or folder name in the File Manager list.
You can verify the change by clicking the Permissions button again to view the current values.
If you cannot change permissions
If you receive an error message stating that you do not have permission to change the settings, the file or folder may be owned by a different user or a system process. In this case, contact Hostek support to verify the ownership and permissions of the specific path.
