Fix Nextcloud backup script incorrect perms
This commit is contained in:
parent
e0011646a0
commit
a443cbb297
@ -23,8 +23,8 @@ if ! [ -d "$OUTDIR" ]; then
|
|||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# Enforce permissions on our output directory since the git user will need them
|
# Enforce permissions on our output directory
|
||||||
chown root.git "$OUTDIR"
|
chown root. "$OUTDIR"
|
||||||
chmod 770 "$OUTDIR"
|
chmod 770 "$OUTDIR"
|
||||||
|
|
||||||
# Purge oldest backup if we need to
|
# Purge oldest backup if we need to
|
||||||
|
Loading…
Reference in New Issue
Block a user