[syslog-ng] new destination-file with group zzz

Balazs Scheidler bazsi@balabit.hu
Fri, 3 Nov 2000 16:36:33 +0100


> I have some problems with the group of new destination-files of
> syslog-ng-1.3.13:
> my logrotate creats immediately after rotation the new log file:
> ~~~~~~~~~~~
> /var/log/ns/f/newfile.log{
>     daily
>     notifempty
>     create 640 root zzz
>     postrotate
>         /usr/bin/killall -HUP syslog-ng
>     endscript
> }
> ~~~~~~~~~~~
> When syslog-ng writes in  newfile.log, the group changes to "root". Can I
> specify in the sylog-ng.conf the group-affilation of the destination-file?
> Apart from this problem syslog-ng works fine!

destination d_file { file("/var/log/xxx" owner(root) group(zzz)); };

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt