Configuring the atlas after setup results in permission issues. This is likely because the atlas folders are created as root.
The atlas folder and everything under it should be created as the user that was passed in, probably the USER_BUILD_NUNALIIT variable.