web files doesn't sync the right permission

Discussion in 'General' started by Frost, Sep 10, 2019.

  1. Frost

    Frost Member

    Environment:
    ISPConfig 3.1.15 multiserver setup with mirror of each server.
    Ubuntu 18.04
    Apache2.4.29

    www1 has the right permission but changing the folder permission on www2 will change its corresponding folder in www1 to another random user. I'm not using unison. /var/www is stored from a file server and is mounted to web servers.

    www1
    Folder Permission
    client0\web1 client0:web1
    client0\web2 client0:web2
    client0\web4 client0:web4
    client0\web7 client0:web7
    client0\web8 client0:web8

    www2
    Folder Permission
    client0\web1 client0:web4
    client0\web2 client0:web1
    client0\web4 client0:web2
    client0\web7 client0:web5
    client0\web8 client0:web8
     
    Last edited: Sep 10, 2019
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You probably missed enabling the option 'Connect Linux userid to webid' in ISPConfig under System > server config > web before you added the first website. It is described in the mirror tutorials that this option must be enabled. If this option is not set, then web users might get different uid's as the Linux useradd command will just use the next free uid which then causes the issues that you describe.
     
  3. Frost

    Frost Member

    my bad. It was unchecked on both server. I enabled that option. but still same behaviour. Do I need to readd every website?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, this option affects new websites only.
     

Share This Page