#1 12 Oct 2010 19:26

Simon Sheppard
Super Administrator
Registered: 27 Aug 2005
Posts: 1,037
Website

chmod -x chmod

Youre in a data centre, with no contact with the outside world, theres a machine you must not reboot,
and someone had the brilliant idea of performing a chmod -x chmod

solve the problem

Solutions:
http://www.slideshare.net/cog/chmod-x-chmod

Offline

#2 20 Jul 2011 11:43

flabdablet
Member
Registered: 11 Jul 2011
Posts: 26

Re: chmod -x chmod

If I have busybox:

busybox chmod +x /bin/chmod

If not:

cd /bin
cp cp chmod$$
cp chmod chmod$$
mv chmod$$ chmod

Offline

Board footer

Powered by FluxBB