I am on Alpine Linux and added my user in lxd group but is is not enough as I got :
Error: Get “http://unix.socket/1.0”: dial unix /var/lib/lxd/unix.socket: connect: permission denied
Changing the group with
chown root:lxd /var/lib/lxd/unix.socket make the trick but I would like to know if there is any security implication doing that way ? Or is there a reason why the socket is not already root:lxd ?