diff --git a/Dockerfile b/Dockerfile index 380af12..58446cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ RUN groupadd --gid ${RUN_GID} ${RUN_GROUP} \ && chmod -R 550 ${CONFLUENCE_INSTALL_DIR}/ \ && chown -R ${RUN_USER}:root ${CONFLUENCE_INSTALL_DIR}/ \ && for dir in logs temp work; do \ - chmod -R 700 ${CONFLUENCE_INSTALL_DIR}/${dir}; \ + chmod -R 770 ${CONFLUENCE_INSTALL_DIR}/${dir}; \ done \ && chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_HOME} \ && for file in "/opt/atlassian/support /entrypoint.py /entrypoint_helpers.py /shutdown-wait.sh"; do \ diff --git a/tests/test_image.py b/tests/test_image.py index f5f8c64..a167c25 100644 --- a/tests/test_image.py +++ b/tests/test_image.py @@ -39,7 +39,7 @@ def test_install_permissions(docker_cli, image): for d in ['logs', 'work', 'temp']: path = f'{get_app_install_dir(container)}/{d}' - assert container.file(path).mode == 448 + assert container.file(path).mode == 504 def test_first_run_state(docker_cli, image, run_user):