How do I CHMOD my files or folders?

ChMod (short for "change mode") is used to change the permissions for files and directories. There are several different ways that you can chmod your files and folders.


User Types

 
This is often separated into three types of users: 

  • user - the owner of the file
     
  • group - users who are members of the file's group
     
  • world - anyone that is not the user or in the same group as the user 


Permission Types

You also have three different types of permissions:

  • read - this will allow files and folders to be read by an assigned user group
     
  • write - with this permission you you would be given write access to a user group
     
  • execute - a user group with with this permission have execute access to a file or folder.
     


How To Change File/Folder Permissions? 

  1. Log into the cPanel and click on the File Manager.

  2. Navigate to the folder/file you want to change permissions on.

  3. Click on the folder/file name (not the folder/icon beside it).

  4. Click on "change permissions" that will appear in upper right.

  5. Change to 755 (generally for folders) or 644 (generally for files). Click on change.

 

In most cases you shouldn't chmod to 777 for security reasons. All files on your account are owned by your user name. Setting permissions to 777 may lead to internal server errors Please try to use permissions of 755 instead.

See here for more information: https://en.wikipedia.org/wiki/Chmod

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Is it ok to use uppercase letters in an email address?

While most receiving email providers are fine with uppercase characters, some may not be. The...

How do I view or change my FTP or cPanel password?

The username and password for your cPanel login and FTP login are the same. You can view your...

How much disk space is my site using?

This interface displays information about how you use your account's disk space, and all of your...

Can I host more than one website on my account?

Only some web hosting packages allow you to host multiple unique web sites on one cPanel account...

How do I access my cPanel?

There are two ways to access your Control Panel (cPanel). These instructions assume your email...