[syslog-ng] global option dir_group() didn't take effect
Balazs Scheidler
bazsi at balabit.hu
Wed Jun 21 13:05:53 CEST 2006
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)
--
Bazsi
More information about the syslog-ng
mailing list