Plesk

How to restore default permissions on a domain in Plesk for Windows?

Question

How to restore default permissions on a domain in Plesk for Windows?

Answer

When default permissions on the domain folder are lost, the following actions can be performed to restore them:

For Onyx and Obsidian:

C:> "%plesk_cli%repair.exe" --repair-webspace-security -webspace-name example.com

If it is necessary to repair permissions for all domains, the following command should be used:

C:> "%plesk_cli%repair.exe" --repair-all-webspaces-security

Also, Plesk Reconfigurator could be used: in the Windows Start menu, select All Programs > Plesk > Plesk Reconfigurator and select Repair Plesk installation > Plesk Virtual Hosts Security > Check .

For Plesk before 12.5:

Go to the Domains page, mark the required domains, and click on the Check permissions button. Then uncheck the Check-only mode checkbox and click OK .

Note:
How to restore default permissions in virtual host directory on Plesk for Linux?