Merge pull request #3470 from reasonerjt/habor-db-on-mariadb

Fix the bug to change permission of bootstrap scripts
This commit is contained in:
Daniel Jiang 2017-10-27 15:32:18 +08:00 committed by GitHub
commit 630921812b

View File

@ -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