[rsyslog] wrong permissons on directories

Thomas Mieslinger thomas.mieslinger at 1und1.de
Fri Mar 6 10:17:48 CET 2009


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




More information about the rsyslog mailing list