Error: `'sudo' cannot be used with build provider 'multipass'`

This is the reason we did this as you would run once with sudo and have your home directory structure with different ownership Call for testing: Snapcraft 4.0

If any of the PermissionError you get are in ~/.cache/snapcraft, ~/.local/share/snapcraft or ~/.config/snapcraft I would suggest to chown them back to $USER.

1 Like