Skip to content

Commit

Permalink
Change the osl-db-migrator-tool permissions for OpenShift (#74)
Browse files Browse the repository at this point in the history
- Adjusts the permissions to the same proven configuration set in upstream that works in OpenShift
  • Loading branch information
wmedvede authored Feb 28, 2025
1 parent 2de1aef commit 46f1c49
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ mkdir -p "${KOGITO_HOME}"/bin/
unzip "${SOURCES_DIR}"/db-migrator-tool-image-build.zip -d "${KOGITO_HOME}"/bin/

cp "${ADDED_DIR}"/kogito-app-launch.sh "${KOGITO_HOME}"
chmod +x-w "${KOGITO_HOME}"/kogito-app-launch.sh

echo "Changing permissions for app launch"
chgrp -R 0 "${KOGITO_HOME}"
chown -R 1001 "${KOGITO_HOME}"
chmod -R g=u "${KOGITO_HOME}"

chmod +x "${KOGITO_HOME}"/kogito-app-launch.sh

0 comments on commit 46f1c49

Please sign in to comment.