OPatch on 12c gives : cannot create .../PatchSearch.xml ... Permission denied (Doc ID 1626147.1)

Last updated on MAY 01, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

Grid Infrastructure 12.1.0.1


Unzip of latest OPatch utility onto a 12c Grid Infrastructure (GI) home fails with permission denied while trying to create the file PatchSearch.xml under the GI_HOME directory:

 

Additional information

* Ref: https://updates.oracle.com/download/6880880.html   <-- OPatch patch of version 12.1.0.1.2 for Oracle software releases 12.1.0.x (OCT 2013)?
* This does work on 11.2.0.4 or earlier versions.
* If the GI_HOME is unlocked, then it works but unlocking the GI_HOME requires the GI stack to be brought down.
   For details to unlock the gi_home, see: http://docs.oracle.com/cd/E16655_01/install.121/e17888/postinst.htm#CWLIN344  <-- 9.4 Modifying Oracle Clusterware Binaries After Installation


 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms