[rsyslog] RHEL-7.9 rsyslog with FileOwner

2024-04-05 Thread warron.french via rsyslog
I am running multiple servers on RHEL-7.9 at work and with no option to upgrade to a newer major version. I have a server collecting (consolidating) logs from other (remote) servers and need to store the various independently generated logfiles but also set the Group-owner to something other than

Re: [rsyslog] RHEL-7.9 rsyslog with FileOwner

2024-04-05 Thread David Lang via rsyslog
if you are using the action() syntax, you set the ownership as part of the action. if you post your full config (including included files) we can better guess what's wrong with it. David Lang On Sat, 6 Apr 2024, warron.french via rsyslog wrote: I am running multiple servers on RHEL-7.9 at

Re: [rsyslog] RHEL-7.9 rsyslog with FileOwner

2024-04-05 Thread Mariusz Kruk via rsyslog
Also remember that in Linux system (quoting the man 2 chown):    Only a privileged process (Linux: one with the CAP_CHOWN capability) may change the owner of a file.  The owner of a file may    change  the group of the file to any group of which that owner is a member.  A privileged pro