I have multiple systems where i have lxd installed on via snap, but on one system i keep getting an error once in a while regarding the
unix.socket which does not have the correct permissions.
Error: Get "http://unix.socket/1.0": dial unix /var/snap/lxd/common/lxd/unix.socket: connect: permission denied
At that time the permission are the following:
srw-rw---- 1 root root 0 May 31 20:09 /var/snap/lxd/common/lxd/unix.socket
I then need to run:
sudo chown root:lxd /var/snap/lxd/common/lxd/unix.socket
to get it working again.
What can i do to have this fixed permanently?
Thanks in advance!