Tried this now, doesn’t have any effect (same error)
Turns out this didn’t work because after the chown
command, the group owner was still not root. After trying sudo chown root:root /
it seems to work (at least to print the version of snapcraft, will keep testing more stuff now).