Permission changed for all directories including files in Oracle Home (RAC)

Sometime user (os admin or dba) make mistake to change or provide the permission in Oracle Binary.

User might requested for changing the particular file or directory permission but admin might run with recursively.

Example: To change owner for patch directory (/u01/patch) including all files on patch. But by mistake run below command

Admin should run:

$ chown -R oracle:dba /u01/patch 

But ran below command which will change owner and group for all directories and files under /u01

$ chown -R root:root /u01

To resolved this issue follow below steps:

For GI/RAC:

# run from GI owner (either root or grid)
$ crsctl stop crs 
$ rootcrs -init

Leave a Reply