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

Solution Verified - Updated -

Issue

  • 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.

Environment

  • Red Hat Enterprise Linux 5/6/7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.