I have a problem for some time, can’t tell since what time, as I barely used lxd on the computer until now, so, for some time,
lxc list will result in an error:
❯ lxc list
Error: Get “http://unix.socket/1.0”: dial unix /var/snap/lxd/common/lxd/unix.socket: connect: permission denied
Then, if I just
sudo lxc list once, then
lxc as my main user (not sudo) will work for the rest of the session.
After each reboot, I have to sudo once to overcome this permission error.
I have no idea where to look for… any idea ?