fixed permissions for log files