Skip to content

Commit

Permalink
Fix /var/www/html permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
fantonangeli committed Sep 27, 2024
1 parent 994e4d1 commit dacc02f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ cp -v "${SCRIPT_DIR}"/added/* "${MGMT_CONSOLE_HOME}"/launch
chmod +x "${MGMT_CONSOLE_HOME}/launch/entrypoint.sh" "${MGMT_CONSOLE_HOME}/image-env-to-json-standalone"
chown -R "${USER_ID}" "${MGMT_CONSOLE_HOME}"

# Fixing /var/www permissions
chgrp -R 0 /var/log/httpd /var/run/httpd /var/www/html /management-console \
chmod -R g=u /var/log/httpd /var/run/httpd /var/www/html /management-console \

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

0 comments on commit dacc02f

Please sign in to comment.