21 Jun
2006
21 Jun
'06
1:05 p.m.
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