How to restore default content of the domain/subscription directory

Follow

Comments

4 comments

  • Avatar
    Hüseyin Şevki TOPUZ (Edited )

    For centos, it does not work for main server domain hosting files. It does not repair user and user group so file permissions stays for root user.

    0
    Comment actions Permalink
  • Avatar
    Bato Tsydenov

    @Hüseyin Şevki TOPUZ

    In test server with Plesk Onyx 17.8 and CentOS 7 everything works as expected.

    Could you please clarify Plesk version and OS?
    Are there any errors when restoring permissions?

    0
    Comment actions Permalink
  • Avatar
    Hüseyin Şevki TOPUZ

    OS CentOS Linux 7.5.1804 (Core)
    Product Plesk Onyx 17.8.11 Update #24

    Copying the example folder list was okay. There were no errors shown after the repair command but files/folders user:usergroup were root:root. I run "chown -r foldername" command for changing them to username:psaadm etc.

    0
    Comment actions Permalink
  • Avatar
    Bato Tsydenov

    @Hüseyin Şevki TOPUZ

    Alternatively, you can apply the following article:
    https://support.plesk.com/hc/en-us/articles/213910345-How-to-restore-default-permissions-in-the-virtual-host-directory-on-Linux-

    I have added the information to this article.

    1
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request