From b7be09de34fbeac27d5d4d3c14dde95ef8b38c48 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 19 May 2020 12:20:24 -0500 Subject: [PATCH] Fix perms on output directory in backup script --- roles/terraria/templates/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/terraria/templates/backup.sh b/roles/terraria/templates/backup.sh index 0b95653..ca45a7b 100644 --- a/roles/terraria/templates/backup.sh +++ b/roles/terraria/templates/backup.sh @@ -27,7 +27,7 @@ if ! [ -d "$OUTDIR" ]; then fi fi # Enforce permissions on our output directory since the terraria user will need them -chown root.ter-admin "$OUTDIR" +chown terraria.ter-admin "$OUTDIR" chmod 770 "$OUTDIR" # Purge oldest backup if we need to