fix file permission of conf file