soliverr / oracle-client-package

Create Linux distribution's package for Oracle Client Software
1 stars 1 forks source link

Error while creating ORACLE_HOME directory #6

Open soliverr opened 10 years ago

soliverr commented 10 years ago

Error while creating ORACLE_HOME directory:

mkdir: cannot create directory `/opt/oracle/product': Permission denied
soliverr commented 9 years ago

It should be done as root:


if [ ! -d "$ORACLE_HOME" ] ; then
    mkdir -p $ORACLE_HOME
    chown oracle:oinstall $ORACLE_HOME
fi