Manually set permissions for subscriptions folders or files are being rewritten (Windows)

Created:

2016-11-16 12:59:30 UTC

Modified:

2017-06-26 11:14:56 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Manually set permissions for subscriptions folders or files are being rewritten (Windows)

Symptoms

Manually set permissions for the websites content folders ( ' C:\inetpub\vhosts\domain.tld\httpdocs ') are being rewritten by Plesk during the installation of microupdates or permissions restoration.

Cause

This issue is a designed behavior of Plesk. It restores the default permissions to avoid security problems.

Resolution

In order to customize permissions on the subscription folders, please use the following instructions. Example:

  1. Create an *.xml file with a Security rule entry. For example (security.xml):

    <Entry AccounType="1" Account="permtest" SidStr="S-1-5-21-3605394579-2105740411-1348980635-1070" Path="[HTTPD_VHOSTS_D]" SubPath="httpdocs" AceFlags="ThisFolderSubfoldersAndFiles" AccessMask="ReadWrite" EntryFlags="0x0" Tag="DomainUser" />
  2. Apply the changes to hosting accounts that you want to change object security rules for by running the HostingSecurity.exe utility:

    "%plesk_bin%\\HostingSecurity.exe" --create-domain-security --vhost-name="test3.com" --file-name="C:\\inetpub\\vhosts\  est3.com\\httpdocs\\security.xml" --user-name="permtest"
Have more questions? Submit a request
Please sign in to leave a comment.