Ubuntu – Cannot undo sudo chmod 655 /


I've accidentally run 'sudo chmod 655 /', and now I cannot undo this operation again because I cannot access sudo anymore. I'd actually wanted the permission to be set to 755. Is there any way I can fix it?

Best Answer

Boot into a Ubuntu live CD or USB flash drive, and run your command from there. This should fix the permissions on your root folder.

sudo chmod /path/to/root/ 755
Related Question