How to Set File and Directory Access Permissions in Plesk

How to Set File and Directory Access Permissions in Plesk

In this article Hostripples will show you how to Set File and Directory Access Permissions in Plesk. Please follow the step-by-step.

how-to-set-file-and-directory-access-permissions-in-plesk

Setting File and Directory Access Permissions

First – To review or change the permissions set for files and directories on Linux systems:

Step 1 : Go to Files section.

The permissions set for files and directories are shown in the Permissions column. They are represented as three sets of symbols, for example, ‘rwx rwx r–‘.

  • First set tells what the owner of the file or directory can do with it;
  • Second tells what the user group, the file or directory belongs to, can do with the file or directory;
  • Third set indicates what other users (the rest of the world, that is, Internet users visiting a site) can do with the file or directory.

Note: R means the permission to read the file or directory, W means the permission to write to the file or directory, and X means the permission to execute the file or look inside the directory.

Step 2 : Locate the file or directory for which you want to modify permissions.

Step 3 : Click a hyperlink in the Permissions column.

Step 4 : Modify the permissions as desired.

Step 5 : Click on OK button.

 

Second – To set access permissions for a file or directory on Windows systems:

Step 1 : Go to Files section.

Step 2 : Locate the file or directory for which you want to set access permissions.

Step 3 : Click the arrow in the corresponding row.

Step 4 : Click on Change Permissions in the drop-down menu.

See following Screenshot:

set-access-permissions-for-a-file-or-directory-on-Windows-systems-hostripples

Step 5 : To make the file or folder inherit permissions from a parent folder (if it does not)

  • Select the check box ” Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with entries explicitly defined here”.

Step 6 : To make the files and folders, which are contained in this folder, inherit the folder permissions you define,

  • Select the check box “Replace permission entries on all child objects with entries shown here that apply to child objects”.

Step 7 : To change or remove permissions from a group or a user,

  • Click the required name in the Group or user names list.

If the group or user is not listed in the Group or user names list,

  • Select the required user or group name from the menu located above the list and click to add icon: the user/group appears in the list.
  • Select it.

Step 8 : To allow or deny permissions to a selected group/user,

  • Select the Allow or Deny check boxes corresponding to permissions listed under Permissions for <user/group name>.

If the check boxes in the Allow or Deny columns are shown in grey, it means that the corresponding permissions are inherited from a parent folder.

Step 8 : To deny the permissions, which are inherited from a parent object as allowed,

  • Select the required check boxes under Deny. This will override inherited permissions for this file/folder.

Step 9 : To allow the permissions, which are inherited from a parent object as denied,

  • Clear the Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with entries explicitly defined here check box: this removes the inherited permissions.
  • Then select the required check boxes under Allow and Deny.

Step 9 : To remove access permissions from a group or user,

  • Select the required name in the Group or user names list.

Step 10 : Click the icon remove icon and next to it.

See following Screenshot:

how-to-set-file-and-directory-access-permissions-in-plesk-change-permissions--hostripples

Step 11 : If you need advanced fine-tuning of permissions,

  • Click the Advanced button, and do the following:

To create a permission entry for a group or user,

  • Select the required name from the Group or user names list.
  • And click on add icon.

To set or change file/folder permissions for a group or user,

  • Select the required name from the Group or user names list.
  • Select the required Allow and Deny check boxes corresponding to permissions listed under Permissions for <user/group name>.

To remove a permission entry for a group or user,

  • Select the required name from the Group or user names list.
  • And click on remove icon.

To make child objects of a folder inherit its permissions defined under Permissions for <user/group name>,

  • Select the Replace permission entries on all child objects with entries shown here that apply to child objects check box.
  • Select check boxes in the Apply to list which correspond to the objects that must inherit the permissions.

Step 11 : Click on OK button.

Done! 🙂

 

 

 


Vishwajit Kale

Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.