1
vote
4answers
4k views

/usr/bin/sudo must be owned by uid 0 and have the setuid bit set

I have run following command accidentally sudo chown [username] -hR / Now sudo su getting error: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set How to Solve This?
0
votes
0answers
81 views

Fix permissions for /usr

While trying to install adobe-flashplayer as a normal user (via a setuid binary, don't ask!), I suddenly noticed that the owner for /usr had been changed to myusername.myusername! Apparently, this is ...
0
votes
1answer
95 views

how to make /usr/lib owned by root again

I chowned -R username /usr/lib and now i cannot sudo or do any thing really due to sudoers.so belonging to username. How do i fix this and make /usr/lib owned by root again?
1
vote
2answers
1k views

How can I change owner back to root?

So, I did a stupid thing... I was installing some software (Java SE 7, if you must know) from a tarball, and I got tired of using sudo, so I went and changed the owner of my /usr directory to myself. ...
0
votes
2answers
44 views

New User - Installing Applications ie Android SDK - Where To ? ( Equivalent of Program Files ? )

it is taking me some time to find my way around Ubuntu and while I know I can Sudo an App like PCManFM to create directories I do not know where the best place to create a folder for the Android SDK ( ...
0
votes
1answer
46 views

Cannot access the hardware

Last night I did a very stupid thing by changing the owner of the directory /usr using the following commands su password: chown username:username /usr Now the problem is that I cannot access the ...
2
votes
0answers
509 views

How do I know my system is broken after chown -R root usr/bin?

This question is related to another question -- "Can't access any functions after chown command." -- but I think it may be worthy of an independent question. My question is: how do I know that my ...
0
votes
1answer
983 views

changing ownership of usr, resulting on graphics and sudo not working anymore

I made a massive mistake by recursively changing the user of every file under /usr . I can't boot my laptop by any normal means following this mistake, and I'm looking for a way to revert the effects ...
3
votes
1answer
208 views

Changed permissions of / to user

I stupidly ran sudo chown -R carlos:carlos / and carlos is my user. This changed all files to be Carlos and I could not boot up again (because the root files were now owned by #1000) and I cant get ...