1

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 '15 at 22:20
  • I have the root pw and I have access to the SD card from LinuxLind. – Renier Delport Dec 3 '15 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 '15 at 11:58
  • Joan, how do I incorporate my original root password in these commands? – Renier Delport Dec 3 '15 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 '15 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.