Permissions on /dev/null change randomly

Solution Verified - Updated -


The permissions of /dev/null are usually 660, but we're occasionally getting errors accessing it:

-bash: /dev/null: Permission denied

Oracle database instances might become inaccessible when we run into this error. When we force the permissions to 666, the database becomes accessible again.


  • Red Hat Enterprise Linux 5/6

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