If it returns /usr - DO NOT RUN THIS!
I’m now in the middle of fixing my system because everything in /usr/bin is owned by me!
So for example, sudo is now broken.
I should have read the instructions better given that they are run as sudo, but I trusted the docs. Please fix this ASAP.
For anyone else who gets in this situation:
- reboot
- choose recovery mode
- in the menu choose root
- run chown -R root:root /usr/bin/
- run chmod u+s /usr/bin/sudo
- reboot and you should have sudo back to fix the rest of the mess
@mattvenn Completely agree! I’m not sure how it got in the docs, but I’ll check internally. I’ve removed the section.
1 Like