File Ownership Problem

Discussion in 'ISPConfig 3 Priority Support' started by jaypabs, Dec 10, 2022.

  1. jaypabs

    jaypabs Member

    Hi,
    After replacing server 2 with a new server and executing Tools > Resync, the owner of the file and folders did not change based on it's ower name.
    Please see screenshot below:
    File ownership.jpg

    I have already check all checkbox under System > Server Config > Web > Permissions on both servers:
    web permission.jpg
    But wondering what am I missing.
    Should I execute resync again?
     
  2. jaypabs

    jaypabs Member

    Update:
    When I open vipw on both servers, the IDs are different:
    Example on server 1:
    Code:
    web2:x:5005:5005::/var/www/clients/client1/web2:/bin/false
    On Server 2:
    Code:
    web2:x:10002:5005::/var/www/clients/client1/web2:/bin/false
    So I think this is where the problem starts.
    If ISPConfig can't resync this IDs, can I edit it manually using vipw?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    A resync can not alter the numeric IDs of Linux users, if it would do that it would easily break most systems. The option 'connect Linux userid to web id' must be enabled for both servers before the first website is added to the first server, it can not be changed later without messing up permissions. If it's not enabled on both servers before you create the first website in ISPConfig, then the user ID's are wrong. The only way to fix it is to manually alter the user ids now.
     

Share This Page