Hi William,

thanks for the bug report and the patch. I have now looked into the
issue and could reproduce the situation. The patch obviously resolves
it.

There is one thing, though: I do not fully understand why you have
patched syslogd.c (RS_RET_ERR). I would appreciate if you could provide
a bit more insight into the problem you intend to solve. So far, I can
not see why this part of the patch is actually needed.

I'll integrate the omfile part now. I will also see that I apply this to
the other official branches. 

Thanks,
Rainer

On Tue, 2008-12-16 at 17:39 +0100, William Tisäter wrote:
> 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/
> _______________________________________________
> 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

Reply via email to