Ask Your Question

Revision history [back]

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
click to hide/show revision 2
retagged

updated 2018-12-10 14:04:33 -0600

hhlp gravatar image

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