Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I changed (through chmod) the permission of /bin to 770. Now, ubuntu does not boot. How do I fix this problem?

share|improve this question
add comment

2 Answers 2

Try running recovery mode. If I am not wrong it must boot. (I made the same mistake years ago)

If I am wrong, Ubuntu Disc may help you repair this too.

share|improve this answer
add comment

Boot off a CD or get to a console and change it back to 755.

share|improve this answer
    
Thanks for the help. Using chroot, I changed the permission back to 755. Now, ubuntu boots but gets stucked at the "loading" screen. I am able to access shell through recovery mode but how do I load the OS? –  SilverTiger Apr 12 '12 at 0:38
    
If you changed the files in the directory to 770 as well, you'll need to change those back to 755 as well. The symlinks should be 777. –  micahg Apr 12 '12 at 3:10
    
Thanks guys. I changed the permission of files as well. Its working now. –  SilverTiger Apr 12 '12 at 23:30
1  
Can you explain how to do this for future users? –  hexafraction Aug 18 '12 at 16:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.