Fix logfile permissions