write permissions to log file plz