setting mode permission for conf_dir