diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cc4c0bdcee6f9e9b9a6125a0d4736c48e1611b0f..7dbe301c0f6dd704c83395bb7bac6f7590d31f0d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,7 +54,7 @@ transfer_mbtiles:
     - chown -R root:root /root/.ssh
   script:
     - rsync --progress -ogaW mgmaps@prepare:/home/mgmaps/mbtiles/${PLANETILER_VERSION}/ /home/mgmaps/tileserver-data/${PLANETILER_VERSION}/
-    - chown -R 1000:1000 /home/mgmaps/mbtiles/${PLANETILER_VERSION}
+    - chown -R 1000:1000 /home/mgmaps/tileserver-data/${PLANETILER_VERSION}/
   rules:
     - if: $UPDATE_MBTILES
   needs: