Tag Archives: cPanel File Manageger

How To Update Folder & File Permissions On cPanel?

All files have some preset permission that directs the cPanel system on handling different access requests. For instance: The file permission tells the cPanel what files are only readable, or editable, or hidden on your server.

You can change file permissions by performing a few steps. Simply log in to your SANGKRIT.net account and follow these steps:

  1. Open the products page
  2. Select your hosting or server
  3. Open your cPanel account
  4. Scroll down and open the FILE MANAGER
  5. Click Settings to open the Preferences box
  6. Click Permissions on the top toolbar
  7. Now simply use the checkboxes or given text boxes to update the permissions. The setting defaults to 0644
  8. When you are done, click Change Permissions 
  9. Your changes will be saved by the system

Note: You can visually change the file permission by using the tick box. In case, if you are using number code to change file permissions then you should know that:

  1. Zero is no permission
  2. Read permission is r or 4
  3. Write permission is w or 2
  4. Execute permission is x or 1

Where,

  • Read allows users to view and read the file
  • Write allows users to edit and update the file
  • Execute allows users to run the file as a program

But the permissions have a different meaning on folders:

  1. Read enables users to list and view the files in the directory
  2. Write enables users to create, rename, and delete files in the directory
  3. Execute enables users to access the files and folders within the directory

Next to each file permission, there are tick boxes for user groups. It allows you to set what permissions on a file are applied to what group of users. There are three groups given as checkboxes:

  • User means permissions are applied to the owner of the file
  • Group means permissions are applied to other users on the group to which the file belongs to
  • World means the permissions are applied for everyone, this also includes users who are not in the group to which the file belongs to

Read other lessons on cPanel File System.

How To Change The Default Folder Of cPanel File Manager?

You can change the default folder in which the File Manager interface opens, simply login to your SANGKRIT.net account and follow the steps:

  1. Open the products page
  2. Select your hosting or server
  3. Open your cPanel account
  4. Scroll down to select the FILE MANAGER
  5. Click Settings to open the Preferences box
  6. Now select a folder to open by default:
    • Home Directory — This is the main folder for your account
    • WebRoot (public_html or www) — Provides a direct route to your website files
    • Public FTP Root (public_ftp) — Is your FTP files directory
    • Document Root for: — This is the main folder of the domain name that you select from the menu
  7. Select the folder you want the file manager to open by default
  8. Click Save

And you are done.

Read other lessons on cPanel File System.

How To Create, Copy, Or Move Files On cPanel?

The cPanel File Manager allows you to visually copy, create or move files and folders in a few easy steps. Simply log in to your SANGKRIT.net account and follow the steps:

Creating New Files & Folders:

  1. Click + File or + Folder icon given in the toolbar
  2. Enter the name of the new file or folder you are creating
  3. Enter the location where you want your new folder or file to be created
  4. Click Create New File or Create New Folder button

TIP: In step number two, you may also rename any folder or file. Simply click the name, enter the new name. Then, press the Return key and your changes will be saved.

Copying Files & Folders:

  1. CTRL + Click to select the files you want to copy
  2. Click the Copy icon given in the top toolbar of your cPanel
  3. Enter the file path where you want to copy the file
  4. Click the Copy Files button

REMEMBER: You cannot create a copy within the same folder.

TIP: In step number two, alternatively you may right-click and select the copy option from the menu.

Moving Files & Folders:

  1. CTRL + Click to select the file or files that you want to move
  2. Click the Move icon given in the top toolbar of your cPanel
  3. Enter the file path where you want to move the file
  4. Click the Move Files button

TIP: Alternatively, you may also move files by dragging a file to a new destination folder.

Read more lessons on cPanel File System.