Thanks for the pointer to the documentation.. it is $DirCreateMode what I asked for...
and now I ask for a change of the default documentation says: Default: 0644 Reality demands 0755. I changed it in my configuration. I'd be happy to see that changed in rsyslog. Thomas Rainer Gerhards wrote: > Hi Thomas, > > can it be that your default umask gets into your way? In any case, you > can set the permissions explicitely with > > $FileCreateMode > $FileGroup > $FileOwner > > And set the umask with > > $umask > > (see http://www.rsyslog.com/doc-rsyslog_conf_global.html) > > Does this help? > > Rainer > >> -----Original Message----- >> From: [email protected] [mailto:rsyslog- >> [email protected]] On Behalf Of Thomas Mieslinger >> Sent: Friday, March 06, 2009 10:18 AM >> To: rsyslog-users >> Subject: [rsyslog] wrong permissons on directories >> >> Hi *, >> >> when creating directories through dynamic templates, the directory >> permissons are incomplete: >> >> rsyslog.conf: >> $template >> > ZeusMwAllLogFileService,"/data/log/zeusmw/%$YEAR%-%$MONTH%/all-%$YEAR%- >> %$MONTH%-%$DAY%.log" >> >> resulting directories: >> ls -al /data/log >> drw-r--r-- 3 root root 4096 Mar 5 15:53 zeusmw/ >> >> ls -al /data/log/zeusmw >> drw-r--r-- 2 root root 4096 Mar 6 10:11 2009-03/ >> >> # rsyslogd -version >> rsyslogd 3.21.3, compiled with: >> FEATURE_REGEXP: Yes >> FEATURE_LARGEFILE: Yes >> FEATURE_NETZIP (message compression): Yes >> GSSAPI Kerberos 5 support: Yes >> FEATURE_DEBUG (debug build, slow code): No >> Runtime Instrumentation (slow code): No >> >> (its the rsyslog-3.21.3-4 fedora 10 package compiled on rhel5) >> >> I'd be happy to know if thats a bug. >> >> Thanks >> Thomas >> >> _______________________________________________ >> rsyslog mailing list >> http://lists.adiscon.net/mailman/listinfo/rsyslog >> http://www.rsyslog.com > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com -- Thomas Mieslinger IT Infrastructure Systems Telefon: +49-721-91374-4404 E-Mail: [email protected] 1&1 Internet AG Brauerstraße 48 76135 Karlsruhe Amtsgericht Montabaur HRB 6484 Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Henning Kettler, Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

