How to Setup file permissions of any file in cPanel?

Permissions can be very important when it comes to hosting your website. Permissions can allow our server computer to write and edit your files. Along with that, some files need to be protected from writing and editing, as a security measure. You can change your file permissions in many ways. One of the easy and basic ways to change the permissions is through File manager in cPanel.

Step::1 Login to cPanel and open File Manager

Steps::2 Scroll over public_html and right click on it and choose Change Permissions option

Step::3 Set the permissions to 0750.

Step::4 All folders inside the public_html folder should have 0755 permissions.

Step::5 All files inside the public_html folder should have 0644 permissions.

In this way you can setup file permissions of any file in cPanel.

Visit our Blog for more details. You can also watch the video here.

  • How to Change Files and Folders Permissions using cPanel, How to Set file permission of any file in cPanel, How to change file permissions in cPanel, How to Change Files and Folders Permissions in cPanel
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to prevent Cross Site Scripting(XSS) injection attack in your Website?

Cross-site Scripting (XSS) is a client-side code injection attack. The attacker aims to execute...

How to protect PHP file execution in a specific directory?

Having some directories writeable by default makes your site vulnerable to hacker attacks....

How to Create backup & store them remotely in any Server using SCP?

Step::1 Login to cPanel and go to Backup Wizard in Files section.Step::2 Now click over Backup...

How to find all http in your website and replace them with https in cPanel?

Step::1 Login to your cPanel and open File ManagerStep::2 Next go inside public_html and create a...

How to secure ‘public html’?

Permissions can be very important when it comes to hosting your website. Permissions can allow...