permission problems

This commit is contained in:
olli 2022-12-07 16:25:50 +01:00
parent 14d3117069
commit fbfd8a1c9e

View File

@ -95,7 +95,7 @@ var-lib-docker
IFS=':'
# Prepare Dest-Dir on Backup-Server
CMDS="mkdir -p ${BACKUPSRVPATH}/$(hostname):chmod 700 ${BACKUPSRVPATH}/$(hostname)"
[ -n "$NODIRSTRUCT" ] && CMDS="mkdir -p ${BACKUPSRVPATH}:chmod 700 ${BACKUPSRVPATH}"
[ -n "$NODIRSTRUCT" ] && CMDS="mkdir -p ${BACKUPSRVPATH}"
[ -n "$BACKUPSRVTESTCMD" ] && CMDS="$BACKUPSRVTESTCMD:$CMDS"
for CMD in $CMDS
do