Hi,
Just chiming in here and could be totally off the mark but this sounds like a great candidate for using built in Linux ACLs. Should be able to give the Zabbix user permissions for anything created
in that directory using setfacl.
Regards
Soyef
From: syslog-ng <syslog-ng-bounces@lists.balabit.hu>
On Behalf Of Pal, Laszlo
Sent: 13 July 2020 12:24
To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu>
Subject: [syslog-ng] disk buffer files permissions
Hi,
We want to monitor disk-buffer files, so we can detect if there is are some issues with the destinations. syslog-ng creates these files with permissions like this
otal 360
-rw-------. 1 root root 4096 Oct 10 2019 syslog-ng-00000.qf
-rw-------. 1 root root 4096 Jul 12 03:49 syslog-ng-00001.qf
So, our monitor script (for zabbix) cannot stat files because it is running under user zabbix.
I'm not sure how to submit a feature request nowadays, but it would be great of perm() option added to disk-buffer()
Any chance?
Thx
L:
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________