Root user can't execute script
Issue
- Getting
-bash: ./test.sh: Permission denied
while executing scripts. - Strace data shows permission denied error.
strace -fvttTyy -s 1024 -o /tmp/strace.txt ./test.sh
strace: exec: Permission denied
Environment
- Red Hat Enterprise Linux.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.