Hi,
I have Ubuntu Intrepid. I was trying to configure some perl modules today that required me to temporarily change permissions in a folder in /usr/.
Rather stupidly, I changed the permissions (chmod -R 755 /usr/, I presume) for all of the /usr directory. This caused the dreaded "greeter application appears to have crashed" error on reboot, stopping GDM from starting. I could only fix it by giving 777 permissions to all of /usr. Obviously, this is not ideal.
EDIT: I've just realised I cannot currently sudo. I get the error "sudo: must be setuid root".
EDIT2: sudo error fixed with "chmod 4755 /usr/bin/sudo" after becoming root. Everything else still 777.
Searching these forums, I can only find suggestions that I reinstall the OS (not good - hence this post). Since I don't have such time to spare right now, is there a way I can restore/repair permissions in this folder? Do the subdirectories within /usr that are common to all Ubuntu installations have a standard set of permissions that I can reapply?
Any help would be much appreciated.
Cheers,
Steve



Adv Reply






Bookmarks