From a443cbb2976d26cb73dff3402ccaf04fe7819912 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 22 Aug 2020 23:44:23 -0500 Subject: [PATCH] Fix Nextcloud backup script incorrect perms --- roles/nextcloud/templates/backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nextcloud/templates/backup.sh b/roles/nextcloud/templates/backup.sh index fb5f06b..f20c9b4 100644 --- a/roles/nextcloud/templates/backup.sh +++ b/roles/nextcloud/templates/backup.sh @@ -23,8 +23,8 @@ if ! [ -d "$OUTDIR" ]; then return 2 fi fi -# Enforce permissions on our output directory since the git user will need them -chown root.git "$OUTDIR" +# Enforce permissions on our output directory +chown root. "$OUTDIR" chmod 770 "$OUTDIR" # Purge oldest backup if we need to