Skip to content

Commit

Permalink
Merge branch 'fix-mkdir' into 'main'
Browse files Browse the repository at this point in the history
[full-mats] mkdir should tolerate pre-existing directory for cfgtoollogs path

See merge request weblogic-cloud/weblogic-image-tool!477
  • Loading branch information
ddsharpe committed Jul 1, 2024
2 parents 934e214 + 40330ae commit 9cf4df7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN echo "INSTALLING MIDDLEWARE" \

{{#useOwnerPermsForGroup}}
# OPatch needs write permissions to the logs folder and lock file when running in OpenShift
RUN mkdir ${ORACLE_HOME}/cfgtoollogs \
RUN mkdir -p ${ORACLE_HOME}/cfgtoollogs \
&& chmod g=u ${ORACLE_HOME}/cfgtoollogs \
&& chmod g=u ${ORACLE_HOME}/inventory/locks/oh.lock
{{/useOwnerPermsForGroup}}
Expand Down

0 comments on commit 9cf4df7

Please sign in to comment.