Reputation: 116
The question is: if I change the privileges of the chmod program from rwxr-xr-x to r—r—r—, how can I undo it? I won’t have any rights to use chmod again
Upvotes: 1
Views: 792
Reputation: 1280
Like said in this topic. you can use this folowing command :
/lib/ld-linux.so /bin/chmod +x /bin/chmod
or use /lib64/ld-linux-x86-64.so.2 if you are on 64bits system
/lib64/ld-linux-x86-64.so.2
Upvotes: 2