0

I accidentally ran sudo chown -R root:root /usr/ on my ubuntu machine (while playing around with sd-card of my Raspberry Pi. I actually wanted to type sudo chown -R root:root usr/ without slash.)

Now I get this error: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set.

Is it possible to fix this?

EDIT: I had the wrong command in my post before. I forgot the root:root. Although all files in /usr are owned by root I get the error message.

jake
  • 111

0 Answers0