RDBMS version:11.2.0.4
Platform : RHEL, OL 6.8, 6.9 , 7.3
My shop follows OFA as shown below.
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
Oracle Inventory : /u01/app/oraInventory
The DB installation documenation in my shop has the following steps for standalone oracle DB installations:
As root user:
mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1
chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/dbhome_1
chown -R oracle:oinstall /u01/app/oracle/product
chown oracle:oinstall /u01/app/oracle
mkdir -p /u01/app/oraInventory
chown oracle:oinstall /u01/app/oraInventory
chmod -R 775 /u01/app/oraInventory
Instead of doing all the above steps, can't I just do the following single step ? ie. Make os user oracle the owner of /u01 ?
chown -R oracle:oinstall /u01