Accidentally ran chmod -R command on /bin directory, how can one recover it back?

Solution Verified - Updated -


  • The permissions on the /bin directory have been altered.
  • The following command was executed for /bin
# chmod -R 777 /bin
  • This is causing failed services, or security vulnerabilities.


  • Red Hat Enterprise Linux 5/6/7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content