plesk repair fs doesn't set correct owner inside httpdocs

Follow

Comments

6 comments

  • Avatar
    Jerry van Kranenburg

    Do not run this script, it will break your complete plesk installation!

    There is missing a /httpdocs at the end of the chown!

    "chown -R $user.psacln $VHOST_DIR/$domain/httpdocs"

    Otherwise also all logfiles and httpdocs and httpsdocs folder will change and all sites are down.

  • Avatar
    Alexander Tsmokalyuk

    @Jerry We have fixed the script. Thank you for reporting.

  • Avatar
    Lenor

    can run your chown on Cloudlinux:

    Error: chown: ungültiger Benutzer: „+x“

     

  • Avatar
    Ivan Postnikov

    @Lenor

    Hello!

    Step 3 of the resolution was updated. The correct command is:

    # chmod +x fix.sh

  • Avatar
    Jason Schilling

    Doesn't correct dot files.

  • Avatar
    Ivan Postnikov

    Hello @Jason, 

    Could you, please, provide used OS, Plesk version and give an example of a file name, which was ignored by script from workaround.

Please sign in to leave a comment.

Have more questions? Submit a request