fix configdir create permission issue.