chmod: changing permissions of ‘$ORACLE_HOME/bin/extjobO’: Operation not permitted

While applying Oracle database PSU/RU/RUR patches, we always see the following or similar warnings.

OPatch found the word "error" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
chmod: changing permissions of ‘/u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO’: Operation not permitted
make: [iextjob] Error 1 (ignored)

Subscribe to get access

Read more of this content when you subscribe today.

How to Relink Oracle 12CR2 Grid Infrastrure ( GI ) Binary

1)Change ownership of some root owned files like extjobO and jssuO, etc, because the relink script will be run as “grid’ user to change the file permissions.

Otherwise, the relink will fail from the below commands in scripts:

chmod 600 /u01/app/ )
chmod 700 /u01/app/
chmod 600 /u01/app/ )

2) As root user:


#cd /u01/app/
# ./ -unlock

3) As grid user:

$ cd /u01/app/
$ relink
writing relink log to: /u01/app/

-- Check any errors ?
$ grep -i error /u01/app/

4) As root user:

# cd /u01/app/
# ./

# cd /u01/app/
# ./ -lock
Using configuration parameter file: /u01/app/
The log of current session can be found at:

5) Check cluster resources:

$/u01/app/ stat res -t