Fix permissions/ownership issue for Wazuh manager migration (4.2 -> 4.3)
Change tail argument to prevent log rotation issues