Installed jsonnet with “sudo snap install jsonnet” as per Install jsonnet on Ubuntu using the Snap Store | Snapcraft But getting permission denied error when trying to run jsonnet.
Other snap apps work fine.
This seems like a related issue but Im not as expert on fstab
Here is exact error message, snap/ubuntu version, etc
user@host:~$ jsonnet
cannot perform operation: mount --rbind /var/snap /tmp/snap.rootfs_wS6Mvd//var/snap: Permission denied
user@host:~$ jsonnet --help
cannot perform operation: mount --rbind /var/snap /tmp/snap.rootfs_TdfOJU//var/snap: Permission denied
user@host:~$ snap version
snap 2.57.1
snapd 2.57.1
series 16
ubuntu 18.04
kernel 4.15.0-192-generic
user@host:~$ ls -l /var/snap
lrwxrwxrwx 1 root root 10 Jun 23 2020 /var/snap -> /data/snap
user@host:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/sysVG-rootLV / ext4 errors=remount-ro 0 1
# /boot was on /dev/xvda1 during installation
UUID=faa1abf4-731b-4a98-a0a2-2f3e86b2a0b7 /boot ext4 defaults 0 2
/dev/mapper/sysVG-homeLV /home ext4 defaults 0 2
/dev/mapper/sysVG-optLV /opt ext4 defaults 0 2
/dev/mapper/sysVG-tmpLV /tmp ext4 defaults 0 2
/dev/mapper/sysVG-varLV /var ext4 defaults 0 2
/dev/mapper/vg--data-lv--data /data ext4 defaults 0 2
user@host:~$