permission problems
This commit is contained in:
parent
14d3117069
commit
fbfd8a1c9e
@ -95,7 +95,7 @@ var-lib-docker
|
|||||||
IFS=':'
|
IFS=':'
|
||||||
# Prepare Dest-Dir on Backup-Server
|
# Prepare Dest-Dir on Backup-Server
|
||||||
CMDS="mkdir -p ${BACKUPSRVPATH}/$(hostname):chmod 700 ${BACKUPSRVPATH}/$(hostname)"
|
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"
|
[ -n "$BACKUPSRVTESTCMD" ] && CMDS="$BACKUPSRVTESTCMD:$CMDS"
|
||||||
for CMD in $CMDS
|
for CMD in $CMDS
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user