Question
How to check and restore permissions for files inside domain's document root on Plesk for Linux?
Answer
- Connect to the server via SSH.
- Execute the following command to check and show files with non-default permissions (644 for files, 755 for directories)
# plesk repair fs -n -verbose example.com
- To set the default permissions, execute the following command:
# plesk repair fs -y example.com