How to change permissions of a file (CHMOD)?

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.

Using File Manager

One of the easy and basic ways to change the permissions is through File manager in cPanel. To change the permissions for a file or folder in cpanel, please do the following:

Click File Manager

Click the name of the file for which you would like to change the permissions.

Select the Change Permissions link at the top right of the page.

Select the permissions you would like to set for the file.

Click Change Permissions

Using FTP

Connect to FTP. Go to the file and right click. Choose Permissions or Attributes or Properties (depends on your program).

Using SSH or a script

This can be done with chmod command.

  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Before creating Addon domains

Addon Domains are handled like subdomains as far as the server is concerned, but to the outside...

How to log into cPanel

If you recently purchased a new account with StretchHost, you should type the following...

How do I create or delete a MySQL Database?

Create: If you are using any type of PHP software or keeping a collection of records which need...

How do I create and delete a cron job?

Cron Jobs run scheduled tasks at specific times. This is good to set up automated maintenance and...

How to change DNS zones (MX, CNAME, and A records)

With cPanel 11.25, you now have access to make some of these changes. Note: This effect will only...

Powered by WHMCompleteSolution