I just typed "sudo chmod 770 ." on my /usr/bin directory by mistake
[acc]:/usr/bin$ sudo chmod 770 .
Now every time i run a sudo command I get a "Permission denied" error
[acc]~$ sudo bash: /usr/bin/sudo: Permission denied
When I open a new terminal, i get: "bash: groups: command not found"
Please help me resolve this… 🙁
You should boot from a LiveCD then do the following:
/usr/binfolder of that installation you mounted from above.
Run this command to give all users execute permissions
Run this command to give all users read permissions
Run this command to remove all users (except
root's) write permissions