Cannot create directory /tmp/snap.rootfs_*/var/lib/snapd/lib/gl32: Permission denied

Same here on Ubuntu 16.04 with other apps like obs-studio and wavebox.

Here are all the folders with their access rights:

sudo ls -la /tmp/snap.rootfs_*                                                                                                                                                                                                        /tmp
/tmp/snap.rootfs_6JPZkw:
total 44
drwx------  2 root igor  4096 Apr  4 22:56 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..

/tmp/snap.rootfs_96C1iC:
total 44
drwx------  2 root igor  4096 Apr  4 22:47 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..

/tmp/snap.rootfs_cbnnqS:
total 44
drwx------  2 root igor  4096 Apr  4 22:50 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..

/tmp/snap.rootfs_EjrJI1:
total 44
drwx------  2 root igor  4096 Apr  4 23:00 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..

/tmp/snap.rootfs_HaXvcg:
total 44
drwx------  2 root igor  4096 Apr  4 22:50 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..

/tmp/snap.rootfs_taDQOQ:
total 44
drwx------  2 root igor  4096 Apr  4 22:46 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..

/tmp/snap.rootfs_udaGdb:
total 44
drwx------  2 root igor  4096 Apr  4 22:49 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..

/tmp/snap.rootfs_V3itzh:
total 44
drwx------  2 root root  4096 Apr  4 22:56 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..

/tmp/snap.rootfs_WsVZSk:
total 48
drwx------  3 root igor  4096 Apr  4 23:00 .
drwxrwxrwt 26 root root 36864 Apr  4 23:02 ..
drwxr-xr-x  3 root root  4096 Apr  4 23:00 var

I also cannot remove them as sudo as the device is busy error pops up.

1 Like