I have freshly installed and updated ubuntu on raspberry pi 3.
Neither sudo ls
nor sudo apt-get install
pose any problem, but executing:
sudo nmcli device status
gives:
Error: Could not create NMClient object: Could not connect: Permission denied
Best Answer
I had a similar problem on Ubuntu 18.04 LTS. I fixed it with
snap connect network-manager:nmcli
as described in man-page