Package: syslog-ng Version: 1.9.8.1+20060128-1 Hi,
With the following options in syslog-ng.conf, new directories are created with group 0 (root). create_dirs(yes) dir_owner(root) dir_group(adm) dir_perm(0750) Greetings, David -- System Information: Debian Release: testing/unstable Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15.2 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages syslog-ng depends on: ii libc6 2.3.5-12 GNU C Library: Shared libraries an ii util-linux 2.12r-6 Miscellaneous system utilities Versions of packages syslog-ng recommends: pn logrotate <none> (no description available) -- no debconf information
diff -ur syslog-ng-1.9.8.1+20060128.orig/src/affile.c syslog-ng-1.9.8.1+20060128/src/affile.c --- syslog-ng-1.9.8.1+20060128.orig/src/affile.c 2006-01-28 00:11:42.000000000 +0100 +++ syslog-ng-1.9.8.1+20060128/src/affile.c 2006-02-02 20:30:45.000000000 +0100 @@ -552,7 +552,7 @@ 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)