Changing File Permissions

We recommend that you set your files to 644 and your folders to 755. If you are using a PHP script or application, you should never set your files or folders to 777.

There are a number of ways in which you can set permissions on your files.

1. Login via FTP and use your FTP client to CHMOD your files.

2. You can change file permissions in the cpanel file manager.

3. If enabled, you can do this from the server using SSH. CHMOD is the command that changes the permissions of a file.

How permissions are calculated

read has a value of 4
write has a value of 2
execute has a value of 1
And the permissions are assigned to Owner, Group and Others(Public)

For example: 755 means:
Owner has read, write and execute permissions
Group has read and execute permissions
Others has read and execute permissions.

Was this answer helpful?

 Print this Article

Also Read

My Site Displays "Index Of"

This is caused by not having a home page file inside your public_html folder - named...

General FTP Guide

FTP stands for File Transfer Protocol and actually refers to the method of transport rather than...

How to Login to cPanel

Your UK Web Hosting account comes with the industry leading control panel cPanel. When you sign...

Place a Shortcut to cPanel on your Desktop

It's useful to have a shortcut to cPanel on your computer. Click the link below for a tutorial...

Uploading to an Addon Domain

To upload to an addon domain with an FTP client you have 2 options : 1. login via FTP to your...