From c1d445070dfd2759ea8bd507e9646be549b5b2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Sat, 12 Jan 2019 14:01:20 +0100 Subject: [PATCH] docker: stop modifying file permission before migrating database --- docker/usr/bin/entrypoint | 1 - 1 file changed, 1 deletion(-) diff --git a/docker/usr/bin/entrypoint b/docker/usr/bin/entrypoint index 8f65b5ef746ee..a53eb52eea964 100755 --- a/docker/usr/bin/entrypoint +++ b/docker/usr/bin/entrypoint @@ -32,7 +32,6 @@ done if [ -f /data/gitea/conf/app.ini ]; then echo "Found app.ini config file, migrating database" - chmod 644 /data/gitea/conf/app.ini chown -R ${USER_UID}:${USER_GID} /data/git /data/gitea su - ${USER} -c gitea migrate -c /data/gitea/conf/app.ini fi