Applying 12C April PSU patch and get the following error: opatch: cannot execute: Permission denied
>> Please Help...
OS: Redhat 7
RDBMS: 12.2
>>>> Applying 12C April PSU patch and get the following error:
/u01/oracle/product/12.2.0/dbhome_1/OPatch/opatch: line 1397: /tmp/oracle-home-1559689711710276/OPatch/opatch: Permission denied
/u01/oracle/product/12.2.0/dbhome_1/OPatch/opatch: line 1397: exec: /tmp/oracle-home-1559689711710276/OPatch/opatch: cannot execute: Permission denied
>>>> THis is my opatch version:
$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 12.2.0.1.17
>>>> I do not have execute permission in /temp so I re-direct the TMP with the following TMP system variables but still not working
TMP=/u01/temp
TMPDIR=/u01/temp
TEMPDIR=/u01/temp
TEMP=/u01/temp
export TMP TMPDIR TEMPDIR TEMP