Changing Back Ownership of /usr/bin
Hey guys, I changed the permissions for this folder in order to patch something within, not realizing that this would break sudo and seemingly the system in general. Is there any way to fix this without a complete reinstall? I am able to boot Fedora from a flash drive and get into the folder, but so far my attempts to change the ownership back to root have been unsuccessful. I can't find anything on Google that will work, either.
The exact error it's giving me is pasted below. Thanks!
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
You should reboot and go into rescue mode, then change what you did
Recovery mode doesn't seem to have any effect. I know I'm in it because it disables the wifi, but other than that I get the same errors.
When you're in rescue mode, you're running as root, and don't need to use sudo.
See https://www.cyberciti.biz/tips/reset-...
Nice thought, @Panther, but the poster managed to change the permissions for
/usr/bin
itself not for a single package.