Meta server: fix create and chown user and group logic.