diff --git a/assets/docker-cron-entrypoint.sh b/assets/docker-cron-entrypoint.sh index c446e0f..4136d61 100644 --- a/assets/docker-cron-entrypoint.sh +++ b/assets/docker-cron-entrypoint.sh @@ -39,9 +39,10 @@ if [ "$GID" != "1000" ]; then fi # Set the files ownership. -chown $UID.$GID -R /home/seafuser/infinite-seaf-cli-start.sh -chown $UID.$GID -R /home/seafuser/entrypoint.sh -chown $UID.$GID -R /volume +chown $UID.$GID /var/run/crond.pid +chown $UID.$GID /home/seafuser/infinite-seaf-cli-start.sh +chown $UID.$GID /home/seafuser/entrypoint.sh +chown $UID.$GID -R /volume # Run the Seafile client as the container user. su - $UNAME << EO