How Can We Help?
< All Topics
Print

Understanding File Permissions in cPanel: A Detailed Guide

The Linux operating system allows users to set access permissions for all files and directories, enabling users to access files at different levels and handle different file requests, thereby enhancing system security and resisting potential threats.

a) How to change file permissions in cPanel

1. Log into cPanel and navigate to the Files section to select File Manager tool or search for the File Manager tool in the search bar to explore your cPanel file manager.

cPanel

2. Then, navigate to the file or folder where you want to change permissions and select the file or folder with a single mouse click.

3. After that, click on the Permissions link button in the top menu to access permissions in the file manager.

4. Finally, select the desired permissions and click on the “Change Permissions” button to change the access permissions of a file.

Below are the file permissions and types of users:
  • Read: Represented by “r” and the number 4, enables the user to read only the file.
  • Write: Represented by “w” and the number 2, enables the user to write to the file only.
  • Execute: Represented by “x” and the number 1, gives the user the ability to execute the file only.
  • User: The owner of the file.
  • Group: The user group to which the owner belongs.
  • World: Refers to everyone else.
Table of Contents