change permission on log file