[rsyslog] Allow files to be created without CreateDirs
William Tisäter
william at blocket.se
Tue Dec 16 17:39:53 CET 2008
Hi,
I don't know if this is an intended feature or not, but when
CreateDirs is set to off, rsyslog can no longer create files (time
stamp file names). Lets say you have a template for writing files: /
log/<tag>/<date>.log, this will let anybody to create directories in /
log when CreateDirs is on. This may cause a lot of directories and can
be abused by regular users.
I've patched 2.0.2 to separate file and directory creation here:
https://bugzilla.redhat.com/attachment.cgi?id=327100
And steps to reproduce this can be found here:
https://bugzilla.redhat.com/show_bug.cgi?id=473419
Comments anyone?
William Tisäter
Blocket.se - Sveriges största Köp & Sälj marknad
http://www.blocket.se/
More information about the rsyslog
mailing list