logFile permissions fix