PDA

View Full Version : /lib/* screwed up, need help ASAP



ucetin
20th April 2006, 09:56 PM
I accidentally did chmod 644 /lib/* instead of chmod 755 lib/*

Now I cannot execute any command on the shell, I get permission denied for root. Is there any way to change the permission of /lib back to 755? Like rebooting in the rescue mode, etc. This is a prodcution server, so need help ASAP. Thanks.

PS: The lib directory I was trying to change was a lib directory under Tomcat.

tashirosgt
21st April 2006, 01:13 AM
You've probably already solved your problem. But my suggestion is to boot from the rescue cd and see if it has the chmod command available.