[syslog-ng] Permissions Issues
Evan Rempel
erempel at uvic.ca
Tue Apr 16 15:27:06 UTC 2019
I recall this bug in the 3.18 and it was fixed in the 3.19 release.
On 4/16/19 8:23 AM, Faine, Mark R. (MSFC-IS40)[NICS] wrote:
> syslog-ng 3.18.1
> RHEL 6.10
>
> Can someone please help me understand what I'm doing wrong? I thought that when I set the following on a destination:
>
> create_dirs(yes);
> dir-owner(myuser);
> dir-group(myuser);
> group(myuser);
> owner(myuser);
> perm(0640);
>
> that files and directories would be created with those permissions, however, I'm seeing something strange. It seems that syslog-ng still wants to create and write to files with root.root. Also, and this is even more unexpected. If I change the permissions on the directories before starting syslog-ng, it fails to write to the directories that are not root.root.
>
> Am I missing something?
>
> Thanks,
> -Mark
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
--
Evan Rempel erempel at uvic.ca
Senior Systems Administrator 250.721.7691
Data Centre Services, University Systems, University of Victoria
More information about the syslog-ng
mailing list