[Ilugc] Can't run inside "/bin" directory commands.Permission denied error

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Tue, 10 Dec 2013 05:05:32 +0530

On Mon, Dec 9, 2013 at 3:11 PM, Manivel Rajendran <be.manivel at gmail.com> 
wrote:

Hi,
      Unfortunately one of my server (Centos 6.3 -64bit ) default
permission had changed.I run any command inside "/bin", It is showing
permission denied error.

[root at server]# ls /
bash: /bin/ls: Permission denied
[root at server]# touch test
bash: /bin/touch: Permission denied

[root at server]# chmod -R 775 /bin
bash: /bin/chmod: Permission denied

[root at server]# cp -p /bin/ls /home/test
bash: /bin/cp: Permission denied
[root at iitb-mhrd manivel]#


I tried ssh also but not working

[root at backup-server ~]# ssh root at x.x.x.x
Last login: Mon Dec  9 14:41:03 2013 from x.x.x.x
/bin/bash: Permission denied
Connection to x.x.x.x closed.

Please help me to resolve this issue.



Try to reinstall the OS. There is some serious issue.

Other related posts: