Applicable to:
- Plesk for Windows
Symptoms
-
Some files or folders permissions are lost on the Plesk upgrade on Windows.
-
The following warning is shown in Tools and Settings > Updates > Install or Update product:
PLESK_WARN: After upgrade you have to add write permissions to psacln group on folder C:\inetpub\mailroot\pickup. Please, check https://support.plesk.com/hc/articles/213914325 for more details.
Cause
Permissions for some folders (e.g. C:\inetpub\mailroot\pickup
) were customized in order for certain applications to work.
Resolution
Connect to the server via RDP, create an additional file with custom rules and put it into the %plesk_dir%etc\DiskSecurity
folder, as described in Plesk Advanced Administration Guide.
Below is an example of how to add permissions to psacln
group on folder C:\inetpub\mailroot\pickup
:
-
Connect to the server via RDP.
-
Create a file with the
xml
extension, e.g.permissions.xml
in%plesk_dir%\etc\DiskSecurity\
with the following content:CONFIG_TEXT: <?xml version="1.0" encoding="utf-8" ?>
<Entries>
<Entry AccounType="1" Account="Psacln" Path="C:\inetpub\mailroot\" SubPath="pickup" AceFlags="ThisFolderSubfoldersAndFiles" AccessMask="FullAccess" EntryFlags="0x0" />
</Entries> -
Run the ApplySecurity.exe utility:
C:\> "%plesk_bin64%"\ApplySecurity.exe --apply-to-directory --directory="C:\inetpub\mailroot"
Comments
2 comments
So how exactly do we reload them? Do we need to reboot the server, run a script, reconfigure the website, use a command line utility...?
Once you have made necessary modifications to the security metadata file, run the
ApplySecurity.exe
utility to apply the security rules to Windows objects.For information about using the
ApplySecurity.exe
utility, consult Plesk for Microsoft Windows: Reference for Command-Line Utilities at http://download1.parallels.com/Plesk/PP12/12.0/Doc/en-US/online/plesk-win-cli/45411.htm. ApplySecurity.exe is stored under "%plesk_dir%\admin\bin64"Please sign in to leave a comment.