Fix perms on output directory in backup script

This commit is contained in:
Salt 2020-05-19 12:20:24 -05:00
parent 54f19e0619
commit b7be09de34

View File

@ -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