Skip to content

Commit

Permalink
Merge branch 'openshift-umask-077' into 'main'
Browse files Browse the repository at this point in the history
Correct file permissions of MII with OpenShift when base filesystem uses 077

See merge request weblogic-cloud/weblogic-image-tool!463
  • Loading branch information
ddsharpe committed Feb 23, 2024
2 parents 1f30dd2 + 952a1a5 commit 21d632b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ RUN mkdir -p {{domain_home}}
{{/modelOnly}}

{{#domainGroupAsUser}}
RUN chmod g=u {{{domain_home}}}
RUN chmod -R g=u {{{domain_home}}}
{{/domainGroupAsUser}}

WORKDIR {{{work_dir}}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
COPY --from=wdt_build --chown={{userid}}:{{groupid}} {{wdt_model_home}} {{wdt_model_home}}/
{{/isWdtModelHomeOutsideWdtHome}}
{{#domainGroupAsUser}}
RUN chmod g=u {{{domain_parent}}} {{{wdt_home}}} {{{wdt_model_home}}}
RUN chmod -R g=u {{{domain_parent}}} {{{wdt_home}}} {{{wdt_model_home}}}
{{/domainGroupAsUser}}
{{/modelOnly}}
{{^modelOnly}}
COPY --from=wdt_build --chown={{userid}}:{{groupid}} {{{domain_home}}} {{{domain_home}}}/
{{#domainGroupAsUser}}
RUN chmod g=u {{{domain_home}}}
RUN chmod -R g=u {{{domain_home}}}
{{/domainGroupAsUser}}
{{/modelOnly}}

0 comments on commit 21d632b

Please sign in to comment.