Error while installing snap-store

I’m trying to install snapstore but i got this error

error: cannot perform the following tasks:

- Run configure hook of "snap-store" snap if present (run hook "configure": cannot perform operation: mount -t tmpfs /tmp/snap.rootfs_xUJ18B: Permission denied)

my OS is opensuse tumbleweed and snapd version is 2.59.5

solved by adding this line to /etc/apparmor.d/usr.libexec.snapd.snap-confine

mount fstype=tmpfs -> /tmp/snap.rootfs_??????/,

1 Like