[syslog-ng] Permissions Issues

Faine, Mark R. (MSFC-IS40)[NICS] mark.faine at nasa.gov
Tue Apr 16 15:53:25 UTC 2019


In addition to upgrading to 3.19 or when using 3.18?

Thanks,
-Mark

Mark Faine
System Administrator
SAIC/NICS
215 Wynn Dr. 5065
Huntsville, AL 35805
256-961-1295 (Desk)
256-617-4861 (Work Cell)


-----Original Message-----
From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> On Behalf Of Evan Rempel
Sent: Tuesday, April 16, 2019 10:30 AM
To: syslog-ng at lists.balabit.hu
Subject: Re: [syslog-ng] Permissions Issues

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 

______________________________________________________________________________
Member info: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.balabit.hu_mailman_listinfo_syslog-2Dng&d=DwIGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=zMyZvtxRXMBKZZYKVMke9zplWK320p3d51BzuU4jwWo&m=n3ezzZT3Uvk2fb53A5GTaCJrPGCEJtJXyaNPKfFDFv4&s=Rp2QdjcVLRZYbjiWlWa-qHcF2ZZCfjCaoE4NyAOQpYA&e=
Documentation: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.balabit.com_support_documentation_-3Fproduct-3Dsyslog-2Dng&d=DwIGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=zMyZvtxRXMBKZZYKVMke9zplWK320p3d51BzuU4jwWo&m=n3ezzZT3Uvk2fb53A5GTaCJrPGCEJtJXyaNPKfFDFv4&s=UgS-lk4Agne7nczpfjc8Cqc4lKzt5tLFSMsjIf5Xkxs&e=
FAQ: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.balabit.com_wiki_syslog-2Dng-2Dfaq&d=DwIGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=zMyZvtxRXMBKZZYKVMke9zplWK320p3d51BzuU4jwWo&m=n3ezzZT3Uvk2fb53A5GTaCJrPGCEJtJXyaNPKfFDFv4&s=WtCHNtxvCOmfKnUzuENBIJ3f5roGKJW-VU-jwav6uE0&e=



More information about the syslog-ng mailing list