root user fails to execute a script with error "Permission denied"
Issue
- Trying to execute a script on
/var/tmpas root shows errorPermission denied:
[root@gss-rhel6u2-64 ~]# /mnt/testmount/script.sh hello
-bash: /mnt/testmount/script.sh: Permission denied
Environment
- Red Hat Enterprise Linux (All version)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.