Skip to content

Commit f59bfe8

Browse files
apricotetechknowlogick
authored andcommitted
docker: stop modifying file permission before migrating database (#5707)
1 parent abb364f commit f59bfe8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docker/usr/bin/entrypoint

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ done
3232

3333
if [ -f /data/gitea/conf/app.ini ]; then
3434
echo "Found app.ini config file, migrating database"
35-
chmod 644 /data/gitea/conf/app.ini
3635
chown -R ${USER_UID}:${USER_GID} /data/git /data/gitea
3736
su - ${USER} -c gitea migrate -c /data/gitea/conf/app.ini
3837
fi

0 commit comments

Comments
 (0)