change permission for log file