Skip to main content
All CollectionsFiles ManagementFiles and Folders Permissions
How to Set Access Rights for Files and Folders
How to Set Access Rights for Files and Folders

Setting permissions for files and folders with CHMOD via Hostinger’s hPanel and FTP client

Updated over a year ago

With CHMOD you can specify viewing, editing, and execution rights to your files and folders. These rights can be set differently for the owner (you), a group, and everyone else. You have two options:

How to Set Permissions in the File Manager

Open Websites → Manage, search for File Manager on the sidebar and click on it:

Right-click on the file or folder you want to set permissions for and choose Permissions:

You will be able to choose the needed permissions by checkboxes - and see their numeric value below. You can also set the same permissions for the content inside folders (make permissions recursive):


How to Set Permissions via FTP

If you have already connected to your website files using an FTP client such as FileZilla, all you need to do to set permissions is right-click on the file or folder you want to set permissions for and choose File Attributes (or File Permissions, the name can be different based on your FTP Client’s version):

In the opened window, choose the needed permissions with checkboxes or set them with a number. You can also make them recursive.

What Are the Default Permissions?

The default permissions are as follows:

Permission type

Files

Folders

Owner

Read, Write

Read, Write, Execute

Group

Read

Read, Execute

Others

Read

Read, Execute

Permission in number

644

755

NOTE:

Did this answer your question?