From 5b127477612489281d0bd4818c36174a4b12a6f4 Mon Sep 17 00:00:00 2001 From: Tan Jiang Date: Fri, 27 Oct 2017 14:10:48 +0800 Subject: [PATCH] Fix the bug to change permission of bootstrap scripts --- make/common/mariadb/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/common/mariadb/docker-entrypoint.sh b/make/common/mariadb/docker-entrypoint.sh index 4caf42cc9..79b71ca79 100644 --- a/make/common/mariadb/docker-entrypoint.sh +++ b/make/common/mariadb/docker-entrypoint.sh @@ -69,7 +69,7 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" -a "$(id -u)" = '0' ]; then mkdir -p "$DATADIR" chown -R mysql:mysql "$DATADIR" if [ -d '/docker-entrypoint-initdb.d' ]; then - chmod -R +rx /docker-entrypoint-updatedb.d + chmod -R +rx /docker-entrypoint-initdb.d fi if [ -d '/docker-entrypoint-updatedb.d' ]; then chmod -R +rx /docker-entrypoint-updatedb.d