From 8c67f86aa79b6f9c12e07461f1f6086cabff79d7 Mon Sep 17 00:00:00 2001 From: Clemens Geibel Date: Fri, 26 Aug 2022 15:57:16 +0200 Subject: [PATCH] enable file permission adjustments for restore --- infrastructure/docker-backup/image/resources/restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/docker-backup/image/resources/restore.sh b/infrastructure/docker-backup/image/resources/restore.sh index 264ebd6..b56b97d 100755 --- a/infrastructure/docker-backup/image/resources/restore.sh +++ b/infrastructure/docker-backup/image/resources/restore.sh @@ -21,7 +21,7 @@ function main() { cp /var/backups/restore/git/repositories/* /data/git/repositories/ # adjust file permissions - #chown -R git:git /data + chown -R git:git /data # Regenerate Git Hooks /usr/local/bin/gitea -c '/data/gitea/conf/app.ini' admin regenerate hooks