Permission denied error running scripts in /var/tmp as root user

Solution Verified - Updated -


  • Trying to execute a script on /var/tmp as root shows permission denied:
[root@gss-rhel6u2-64 ~]# /mnt/testmount/ hello
-bash: /mnt/testmount/ Permission denied


  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 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