Web hosting

How do I change the permissions of a folder or file?

Changing permissions to files and folders on your hosting package can either be done using the control panel of your subscription (cPanel) or through the FTP Client with which you can connect to your hosting package.

Change permissions from within cPanel

To change permissions on your website files and folders from within the cPanel you can follow the steps below:

  1. Login to cPanel
  2. Click the File Manager option in Files category.

    cPanel - Files Category

  3. In the popup window check the Show Hidden Files (dotfiles) and then click the GO button.

    cPanel - Files category

  4. Now you are on File Manager page of cPanel. Through this interface you can make the desired permission changes.

    The general rule for file permissions and folders in a website is that folders have 755 permissions and files 644. Unless there is special reason keep your files and folders in these settings.

    cPanel - File Manager - File List

    On the right (Perms) column you can see the current permissions in every file and folder.

  5. To change permissions in a folder or file right click on it and click the Change Permissions option.

    cPanel - permissions change folder

  6. In the popup window set the desired permissions and click the Change Permissions button.

    cPanel - set folder permissions

Change permissions through an FTP Client

  1. Connect with FTP to your hosting package

    See how to create an FTP conection on your hosting package.

    If you can not sign in see the FTP connection troubleshooting guide.

  2. Navigate to the folder or file which you want to change permissions and click Right-click on it.

    Filezilla - file permissions

    Click the File Permissions button.

  3. Set the permissions that you want the folder/file to have by checking the corresponding boxes.

    Filezilla - set file permissions

    Click the OK button to save.

IPGLOBAL IKE   |  IP.GR Web Hosting and Domain Name registration services in Greece
Cookies Preferences
 Functional  Statistics  Marketing

You can see detailed information about the use of cookies on the page: Terms of use