diff options
Diffstat (limited to 'distribution/cassandra')
-rw-r--r-- | distribution/cassandra/docker-entrypoint.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/distribution/cassandra/docker-entrypoint.sh b/distribution/cassandra/docker-entrypoint.sh index cec4587b..2e2c657e 100644 --- a/distribution/cassandra/docker-entrypoint.sh +++ b/distribution/cassandra/docker-entrypoint.sh @@ -1,6 +1,11 @@ #!/bin/bash set -e +for f in /docker-entrypoint-initdb.d/*.cql; do + chown cassandra.root "$f" +done + + # first arg is `-f` or `--some-option` # or there are no args if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then |