Conda and MacOS error: NotWritableError: The current user does not have write permissions to a required path

sudo chown -R $USER /Users/yourusername/mambaforge/