[syslog-ng] global option dir_group() didn't take effect

Wolfram Schlich lists at wolfram.schlich.org
Wed Jun 21 14:23:45 CEST 2006


* Balazs Scheidler <bazsi at balabit.hu> [2006-06-21 13:08]:
> On Wed, 2006-06-21 at 00:01 +0200, Wolfram Schlich wrote:
> > Syslog-NG (1.9.11) was configured with the global option dir_group(adm),
> > but directories it created were root:root.
> > Anyone else experiencing this?
> 
> There was a typo in the initialization code caused this. Here's the
> patch:
> 
> --- orig/src/affile.c
> +++ mod/src/affile.c
> @@ -592,7 +592,7 @@ affile_dd_new(gchar *filename, guint32 f
>    self->flags = flags;
>    self->file_uid = self->file_gid = -1;
>    self->file_perm = -1;
> -  self->dir_uid = self->dir_uid = -1;
> +  self->dir_uid = self->dir_gid = -1;
>    self->dir_perm = -1;
>    log_writer_options_defaults(&self->writer_options);
>    if (strchr(filename, '$') == NULL)

Great, thanks :-)

Should I try syslog-ng-2.0rc1+20060621.tar.gz?
-- 
Wolfram Schlich


More information about the syslog-ng mailing list