Articles in this section

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

kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • 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

Was this article helpful?

Comments

1 comment
Date Votes
  • I have done above commands, but web page doesn't load:
    11:47 root@mail:/var/www/vhosts/radiopik.pl/httpdocs# plesk repair fs -n -verbose radiopik.pl

    Checking virtual hosts' file system ................................. [OK]

    Error messages: 0; Warnings: 0; Errors resolved: 0

    11:48 root@mail:/var/www/vhosts/radiopik.pl/httpdocs# plesk repair fs -n radiopik.pl

    Checking virtual hosts' file system ................................. [OK]

    Error messages: 0; Warnings: 0; Errors resolved: 0

    Log:
    2025-11-24 11:57:34   Error   178.73.4.114   403   GET /action.php?action=toponair&n=1&program=1 HTTP/1.0   7.52 K   Dostęp apache SSL/TLS

    2025-11-24 11:57:34   Error   178.73.4.114   [core:crit] (13)Permission denied: AH00529: /var/www/vhosts/radiopik.pl/httpdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/radiopik.pl/httpdocs/' is executable, referer: https://www.radiopik.pl/   Błąd Apache

    How to repair this?
     

    0

Please sign in to leave a comment.