diff options
author | Julian <julian.toelle97@gmail.com> | 2019-01-12 17:14:01 +0100 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2019-01-12 11:14:01 -0500 |
commit | f59bfe893a65051e7cf42578b31fdab1597b8b6d (patch) | |
tree | b6139c8f26551ec827bbebbe8fc6d2fcf41e5255 /docker | |
parent | abb364f4427bc84b78e969f005fb5b4338b7d589 (diff) | |
download | gitea-f59bfe893a65051e7cf42578b31fdab1597b8b6d.tar.gz gitea-f59bfe893a65051e7cf42578b31fdab1597b8b6d.zip |
docker: stop modifying file permission before migrating database (#5707)
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/usr/bin/entrypoint | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docker/usr/bin/entrypoint b/docker/usr/bin/entrypoint index 8f65b5ef74..a53eb52eea 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 |