Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.101.x] NO-ISSUE: fix sonataflow management console ocp permission denied #53

Prev Previous commit
Updated generated file
fantonangeli committed Sep 30, 2024
commit 732fee34b0e4e81a6f64e8b56bd7fa3703bcc6ad
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ chown -R "${USER_ID}" "${MGMT_CONSOLE_HOME}"


# Fixing /var/www permissions
chgrp -R 0 ${HTTPD_LOG_PATH} ${HTTPD_VAR_RUN} ${HTTPD_DATA_PATH}/html /management-console \
chmod -R g=u ${HTTPD_LOG_PATH} ${HTTPD_VAR_RUN} ${HTTPD_DATA_PATH}/html /management-console \
chgrp -R 0 ${HTTPD_LOG_PATH} ${HTTPD_VAR_RUN} ${HTTPD_DATA_PATH}/html
chmod -R g=u ${HTTPD_LOG_PATH} ${HTTPD_VAR_RUN} ${HTTPD_DATA_PATH}/html

if [ -f "${MGMT_CONSOLE_HOME}/app/env.json" ]; then chmod a+w "${MGMT_CONSOLE_HOME}/app/env.json"; fi