For a somewhat stupid reason I've run sudo chmod -R 777 /usr/bin and now get the error message. I know that I've broken my suso, but is there a way to fix it know what directory is involved?

  • 1
    Can you mount the SD card in another Linux system or with a Linux Live CD? Do you have a root password on the Pi?
    – joan
    Dec 2, 2015 at 22:20
  • I have the root pw and I have access to the SD card from LinuxLind. Dec 3, 2015 at 11:24
  • 1
    Have you tried logging on as root and changing the permissions back to 644 for /usr/bin? For sudo additionally do chmod +s /usr/bin/sudo
    – joan
    Dec 3, 2015 at 11:58
  • Joan, how do I incorporate my original root password in these commands? Dec 3, 2015 at 18:44
  • 1
    I am only talking about the Pi. It seems likely that the quickest solution will be to start again from scratch and reimage your Pi SD card.
    – joan
    Dec 3, 2015 at 20:04


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.