Today I ran sudo chmod -R a-wrx /
. Now nothing is working. Can anyone help me recover my system?
Ubuntu – How to recover from chmod -R a-wrx / command?
chmod
chmod
Today I ran sudo chmod -R a-wrx /
. Now nothing is working. Can anyone help me recover my system?
Best Answer
Basic answer
If you are comfortable with scripting you could:
Or of course a clean install is possible.
BTW: Who told you to issue that command?
More Information (edit)
I actually just found a really nice script that uses the same logic. As the author says, be careful before using it and don't if you are not sure you know what it does: https://superuser.com/questions/132891/how-to-reset-folder-permissions-to-their-default-in-ubuntu-9-10
To help you on the way (from the source mentioned above):