I'm in $ORACLE_HOME/OPatch directory and when I type opatch then I get the response as,-bash: opatch: command not found If I do ./opatch, then I get the response as,/bin/sh: ./opatch: Permission deniedls -l on OPatch shows -rwx--x---. So for the group oinstall, it should have execute right and id -g confirms that the user belongs to the oinstall group.So why I can't execute opatch in this case?
can't execute a command even i'm in the group and command is -rwx--x---
shell script;permissions;executable;group