$ snap install hello-world
$ mkdir /home/fakeuser/snap
$ chown -R 1090:1088 /home/fakeuser (use uid:gid that are not used on the system).
$ snap remove hello-world
The problem is only affecting groovy and it appears to be fixed with https://github.com/snapcore/snapd/pull/9041/ (which landed on Sep 28th but hasn't been released in stable yet; the fix is included in snapd from edge).
I investigated and reproduced this with:
$ snap install hello-world
$ mkdir /home/fakeuser/snap
$ chown -R 1090:1088 /home/fakeuser (use uid:gid that are not used on the system).
$ snap remove hello-world
The problem is only affecting groovy and it appears to be fixed with https:/ /github. com/snapcore/ snapd/pull/ 9041/ (which landed on Sep 28th but hasn't been released in stable yet; the fix is included in snapd from edge).