title: Not able to execute lxd lxc commands as sudo
body: <p>Installed juju using following command on Ubuntu 19.04 </p>
  
  <pre><code>sudo snap install juju --classic
  </code></pre>
  
  <p>This installed lxd as well. When I try to invoke "sudo lxd -h" or "sudo lxc list" or "sudo juju bootstrap" I get following error message</p>
  
  <pre><code>sudo: juju: command not found
  sudo: lxc: command not found
  sudo: lxd: command not found
  </code></pre>
  
  <p>Where as if I run those commands without sudo, I get following</p>
  
  <pre><code>Error: Get http://unix.socket/1.0: dial unix /var/snap/lxd/common/lxd/unix.socket: connect: permission denied
  </code></pre>
  
  <p>Not sure what went wrong. Here is what happened. First I was able to install juju and it worked fine as expected. Later I installed OpenStack using devstack. I removed OpenStack using ./unstack.sh and ./clean.sh
  Seems like something went wrong in that which is causing me the above issue.</p>
  
  <p>Any suggestions to fix this?</p>
  
  <p>Thanks</p>