chmod -x chmod
we suppose that you accidently remove the right execute of chmod? then what to do if you can not restart your system or connect to another server to get another chmod.
solution1:
cp /sbin/chown /sbin/chmod2
cat /sbin/chmod > /sbin/chmod2
/sbin/chmod2 +x /sbin/chmod
solution 2 (debian):
sudo apt-get install --reinstall coreutils
solution 3:
perl -e 'chmod 0755, "chmod"'
solution 4:
python -c "import os;os.chmod('/bin/chmod', 0777)"
Cordialement.
Issam HARRATHI