Cobra Forum

Plesk Panel => Plesk Service/Interface => Topic started by: mahesh on Mar 12, 2024, 08:16 AM

Title: How to restore default permissions on a domain in Plesk for Windows?
Post by: mahesh on Mar 12, 2024, 08:16 AM
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 .