[syslog-ng] disk buffer files permissions

Pal, Laszlo vlad at vlad.hu
Mon Jul 13 13:21:48 UTC 2020


Hi Ahmed,

Than you for your suggestion. setfacl solved my permission issues :)

L:


On Mon, Jul 13, 2020 at 1:28 PM Ahmed Soyef <Soyef.Ahmed34 at homeoffice.gov.uk>
wrote:

> 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 at lists.balabit.hu> *On Behalf Of *Pal,
> Laszlo
> *Sent:* 13 July 2020 12:24
> *To:* Syslog-ng users' and developers' mailing list <
> syslog-ng at 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
> ______________________________________________________________________
> **********************************************************************
> This email and any files transmitted with it are private and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please return it to the address
> it came from telling them it is not for you and then delete it from your
> system.
> This email message has been swept for computer viruses.
> **********************************************************************
>
> ______________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200713/d5935ee2/attachment.html>


More information about the syslog-ng mailing list