Hello,
I have tried to change the owner and it was still the same until I removed the permissions to groups and others assigned before.
At that moment when only the owner has permissions, it has already worked.
However, now it throws another error indicating that it does not have permission to create the /var/lib/filebeat directory.
Exiting: error setting default paths: Failed to create data path /var/lib/filebeat: mkdir /var/lib/filebeat: permission denied
Do I have to change the permissions of any additional file? Only root can own filebeat.yml?
Thank you.
Greetings.