mirror of
https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server.git
synced 2024-08-30 18:22:16 +00:00
Merged in DCCLIP-789-review-install-dir-permissions (pull request #148)
DCCLIP-789: Make some directories writable to root group * Make some directories writable for root group Approved-by: Minh Tran
This commit is contained in:
parent
e6d24ab68f
commit
f175a34c01
@ -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 \
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user