diff --git a/OracleDatabase/SingleInstance/dockerfiles/23.4.0/runOracle.sh b/OracleDatabase/SingleInstance/dockerfiles/23.4.0/runOracle.sh index 6c30a2f8b3..275f68735a 100755 --- a/OracleDatabase/SingleInstance/dockerfiles/23.4.0/runOracle.sh +++ b/OracleDatabase/SingleInstance/dockerfiles/23.4.0/runOracle.sh @@ -17,12 +17,12 @@ function moveFiles { mkdir -p "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ fi; - mv "$ORACLE_BASE_CONFIG"/dbs/spfile"$ORACLE_SID".ora "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ - mv "$ORACLE_BASE_CONFIG"/dbs/orapw"$ORACLE_SID" "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ + mv "$ORACLE_BASE_CONFIG"/dbs "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ mv "$ORACLE_HOME"/network/admin/sqlnet.ora "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ mv "$ORACLE_HOME"/network/admin/listener.ora "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ mv "$ORACLE_HOME"/network/admin/tnsnames.ora "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ find "$ORACLE_HOME"/install/ -name ".docker_*" -exec mv {} "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ \; + # oracle user does not have permissions in /etc, hence cp and not mv cp /etc/oratab "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/