permission fix for log files