mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-06-24 02:01:03 -04:00
7e6f4f5a84
chmod 0600 $DATA_DIR/ssh/* fails with "cannot access" when the directory is empty (first boot before keys are generated, or when keys are symlinks in /config/ssh). Replace the glob with find -type f which silently handles empty directories. - rootfs/usr/local/etc/docker/init.d/08-gitea.sh: use find -exec chmod instead of glob for ssh key permissions rootfs/usr/local/etc/docker/init.d/08-gitea.sh