[syslog-ng] Permissions Issues

Evan Rempel erempel at uvic.ca
Tue Apr 16 15:30:27 UTC 2019


Oh, and I think I may have had to add the options of "--no-caps" to the launch of syslog-ng as well..

Evan

On 4/16/19 8:27 AM, Evan Rempel wrote:
> 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 



More information about the syslog-ng mailing list