Plesk Repair Utility: There are files or directories with suspicious permissions in the root directory of the domain

Follow

Comments

6 comments

  • Avatar
    Lenor

    Not working with Plesk 17.8. 

     

    Still says: 

    Error messages: 2; Warnings: 19; Errors resolved: 2

    NO of the Warnings gets corrected. 

    There are files or directories with suspicious permissions in the
    root directory of the domain

    0
    Comment actions Permalink
  • Avatar
    Alexey Lapshin

    Hello Lenor,

    I would like to inform you that "plesk repair fs" utility fix incorrect ownership and determines incorrect file permissions.
    This behavior is by design because for some web application requires non-default permissions for files(644) and directories(755).

    To set default permissions on directories and files inside the virtual host document root directory execute the following commands:

    # find /var/www/vhosts/example.com/httpdocs/* -type d -exec chmod 0755 {} \;
    # find /var/www/vhosts/example.com/httpdocs/* -type f -exec chmod 0644 {} \;

    If this is a subdomain, change the path to the appropriate:

    # find /var/www/vhosts/example.com/subdomain_name/* -type d -exec chmod 0755 {} \;
    # find /var/www/vhosts/example.com/subdomain_name/* -type f -exec chmod 0644 {} \;

    0
    Comment actions Permalink
  • Avatar
    Deepak Dhingra

    Hello,

    I have a similar issue. I ran the Plesk Repair all -y and these commands -

    find /var/www/vhosts/example.com/httpdocs/* -type d -exec chmod 0755 {} \;
    find /var/www/vhosts/example.com/httpdocs/* -type f -exec chmod 0644 {} \;

     

    But nothing worked. Some of my websites are showing up and some don't. 

    The warning shows for all my websites still.

    There are files or directories with suspicious permissions in the root directory of the domain.

    What do I do?

    Deepak

     

    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Hello Deepak, you should create a ticket to support to check the issue.

    0
    Comment actions Permalink
  • Avatar
    Deepak Dhingra (Edited )

    Hi Anton,

     

    I did some stuff manually and corrected this issue. So this is solved.

    0
    Comment actions Permalink
  • Avatar
    James R Getches

    Deepak,

    I am experiencing the same issues across multiple plesk installations. Can you describe the manual stuff you did to correct the issues? Thank you for your help.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request