Using log4perl and Log::Dispatch::File (or ::FileRotate)
if you attempt to set the .permissions attribute from a
config file, it will fail as it stringifies the permissions which
must be read in octal. I found a workaround, which
is to set the permission via a subroutine... ie:
log4perl.appender.ROOTLOGFILE.permissions= sub { 0666 }