From 1d96a2bbe1b536b7d7f4cdbf55c6dabae6d058ae Mon Sep 17 00:00:00 2001 From: Tim Shearer Date: Fri, 1 Apr 2022 16:22:28 -0400 Subject: Adjust permissions on _extend_start files. Explicitly set the permissions on the kolla-toolbox kolla_extend_start file. Also, since all extend_start files are sourced rather than executed, the executable bits are now cleared throughout the project. Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0 --- docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 | 2 +- docker/elasticsearch/elasticsearch/Dockerfile.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/elasticsearch') diff --git a/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 b/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 index 2cde977c1..0ce0927a9 100644 --- a/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 +++ b/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 @@ -36,7 +36,7 @@ RUN {{ macros.install_pip(['pip', 'wheel', 'setuptools'], constraints=false) }} && chown -R elasticsearch: /etc/elasticsearch-curator COPY extend_start.sh /usr/local/bin/kolla_extend_start -RUN chmod 755 /usr/local/bin/kolla_extend_start +RUN chmod 644 /usr/local/bin/kolla_extend_start {% block elasticsearch_curator_base_footer %}{% endblock %} {% block footer %}{% endblock %} diff --git a/docker/elasticsearch/elasticsearch/Dockerfile.j2 b/docker/elasticsearch/elasticsearch/Dockerfile.j2 index 88b67b1f7..e4135c153 100644 --- a/docker/elasticsearch/elasticsearch/Dockerfile.j2 +++ b/docker/elasticsearch/elasticsearch/Dockerfile.j2 @@ -46,7 +46,7 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start # # https://discuss.elastic.co/t/running-as-non-root-user-service-wrapper-has-changed/7863 -RUN chmod 755 /usr/local/bin/kolla_extend_start +RUN chmod 644 /usr/local/bin/kolla_extend_start {% block elasticsearch_footer %}{% endblock %} {% block footer %}{% endblock %} -- cgit v1.2.3