Did you not see the full config? I provided it as an image. Was the image blocked at your end, from being received?
-------------------------- Warron French On Sat, Apr 6, 2024 at 3:04 AM David Lang via rsyslog < rsyslog@lists.adiscon.com> wrote: > it's common for rsyslog configs to drop privileges, and if it does so, it > can't > then make use of those privileges to open files as other users, etc. > > This is why we need to see the full config, and any files included. > > David Lang > > On Sat, 6 Apr 2024, Mariusz Kruk via rsyslog wrote: > > > 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 process (Linux: with CAP_CHOWN) may > > change the group arbitrarily. > > > > So if your rsyslogd is an unprivileged process (it does not have > > CAP_CHOWN granted explicitly and it does not run as root user), you won' > > be able to create files as a different user. > > > > MK > > > > On 6.04.2024 07:20, David Lang via rsyslog wrote: > >> 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 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 root. > >>> > >>> I thought the proper syntax to do this was to set: > >>> $FileOwner somegroup > >>> > >>> But rsyslogd upon restart fails to accept this directive. > >>> > >>> Can someone tell me what directive I should be using because > >>> attempting to > >>> find the Rsyslog documentation specific to my RHEL-7.9 in combination > to > >>> answering this query at *rsyslog.com <http://rsyslog.com> * > >>> is not proving to be useful. > >>> > >>> Thank you in advance for your assistance, > >>> > >>> -------------------------- > >>> Warron French > >>> _______________________________________________ > >>> rsyslog mailing list > >>> https://lists.adiscon.net/mailman/listinfo/rsyslog > >>> http://www.rsyslog.com/professional-services/ > >>> What's up with rsyslog? Follow https://twitter.com/rgerhards > >>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > >>> myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT > >>> POST if you DON'T LIKE THAT. > >>> > >> _______________________________________________ > >> rsyslog mailing list > >> https://lists.adiscon.net/mailman/listinfo/rsyslog > >> http://www.rsyslog.com/professional-services/ > >> What's up with rsyslog? Follow https://twitter.com/rgerhards > >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > >> myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST > >> if you DON'T LIKE THAT. > > _______________________________________________ > > rsyslog mailing list > > https://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of > > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T > > LIKE THAT. > _______________________________________________ > rsyslog mailing list > https://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. _______________________________________________ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.