I was moving a folder to /usr/share/
, and I accidentally moved /usr/share/
to my Desktop. I have since moved it back, but when I was in the live ISO, I stupidly changed the ownership of /usr/
to the active user to avoid using the terminal. When I finished changed it back to root
. However, the permissions are now screwed up. I tried using sudo
, but it was broken. I followed this post and used
chmod 4755 /usr/bin/sudo
but there are still things that don't work. I don't know the default permissions / ownership of /usr/
. Can you help me?
Edit: To clarify, when I changed the permissions of /usr/ I changed also all the sub-directories
/usr
. How did you do that and manage to affect the program/usr/bin/sudo
? Do you mean you changed the permissions of/usr
and every file/directory under it? Please edit your question to clarify this./usr
? If you changed ownership, then why are you trying to remedy it usingchmod
?