Changed order of group and user creation before ad hoc mounting.