KnowledgebaseHow can we help you?

Change permission of files and folders in cPanel

The most important thing to keep in mind is that certain file types and folders should be set to particular permissions. Below are some examples:

public_html - 750

Folders - 755

CGI and Perl scripts - 755

.html .php and other Document Types – 644

Incorrect file permissions can cause errors or even worse, allow unauthorized users to hack your site. Once an unauthorized user gains access, they can further alter more of your file permissions to make a site even more vulnerable. In order to change file permissions, follow the steps given below:

1. Login to cPanel.

 
 
 
 

2. Click on File Manager in Files tab.

 

3. In File Manager, locate the file you wish to change the permissions for. Next, right click and select Change Permissions from the menu.

 

 

4. This will bring up the Change Permissions window where you can adjust the settings as needed by checking the box by each permission you want for each level of access (User, Group and World).

 

5. Once you are finished editing your file permissions, click the "Change Permissions" button.

Note: Keep in mind that you should only change file permissions if needed. You want to make sure that you aren't allowing more access to your files than is necessary, since that can leave your website vulnerable.

Was this answer helpful?

Also Read



+91 9429692542
10:00 am to 7:30 pm IST Monday to Saturday
Live Chat, Email and Tickets are available 24/7

HostAdvice Great Uptime Award for Gen X Web Hosting
Gen X Web Hosting Reviews