change file permission of error.log