Plesk

How to check and restore permissions for files inside domain’s document root on Plesk for Linux

Question

How to check and restore permissions for files inside domain's document root on Plesk for Linux?

Answer

  1. Connect to the server via SSH.
  2. 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

  3. To set the default permissions, execute the following command:

    # plesk repair fs -y example.com

Exit mobile version