How do I do undo chmod /usr/bin

0

For some reason I was messing around and did chmod -x /usr/bin/* (no idea what I was thinking)

Is there a way to fix this, because at the moment nothing is executable

randomname123998

Posted 2014-06-17T04:11:32.867

Reputation: 31

boot from live CD, mount your partition, do the reverse – Sathyajith Bhat – 2014-06-17T10:44:32.657

Answers

0

chmod +x /usr/bin/*

In case your chmod binary is in /usr/bin you could try to sftp a copy of the file in from another host.

Or boot from live CD, mount the right filesystem, and chmod +x the file.

Herman van Rink

Posted 2014-06-17T04:11:32.867

Reputation: 1 193