diff options
| author | Tim Shearer <tshearer@advaoptical.com> | 2022-04-01 16:22:28 -0400 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2022-04-11 17:22:24 +0200 |
| commit | 1d96a2bbe1b536b7d7f4cdbf55c6dabae6d058ae (patch) | |
| tree | aff66bacc9d1dc51d4db006646152329e6777b83 /docker/elasticsearch | |
| parent | 19765c629734fe699871301be23fb308c14b2639 (diff) | |
| download | kolla-1d96a2bbe1b536b7d7f4cdbf55c6dabae6d058ae.tar.gz kolla-1d96a2bbe1b536b7d7f4cdbf55c6dabae6d058ae.zip | |
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
Diffstat (limited to 'docker/elasticsearch')
| -rw-r--r-- | docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 | 2 | ||||
| -rw-r--r-- | docker/elasticsearch/elasticsearch/Dockerfile.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
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 %} |
