sudo fdisk -l
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
How to access permission to sda ( Primary HDD )
sudo fdisk -l
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
How to access permission to sda ( Primary HDD )
Your /usr/bin/sudo
executable has either a wrong owner or permission set.
No matter which one applies here, the following two commands should fix it:
pkexec chown root: /usr/bin/sudo
pkexec chmod 4755 /usr/bin/sudo
After that, sudo
should be working normally again and you will be able to use it to run fdisk
with root privileges with it.