Fix permissions for backup directory at xtrabackup server
Fixes: PROD-27147 (PROD:27147)
Change-Id: Ic400c9c016017697cc57a52bfbf40752e0e42238
diff --git a/xtrabackup/files/innobackupex-client-runner.sh b/xtrabackup/files/innobackupex-client-runner.sh
index f2b8e22..aed02f0 100644
--- a/xtrabackup/files/innobackupex-client-runner.sh
+++ b/xtrabackup/files/innobackupex-client-runner.sh
@@ -211,7 +211,7 @@
ssh-keygen -R {{ client.target.host }} 2>&1 | tee $rsyncLog
ssh-keyscan {{ client.target.host }} >> ~/.ssh/known_hosts 2>&1 | tee $rsyncLog
echo "Rsyncing files to remote host"
-/usr/bin/rsync -rhtPv --rsync-path=rsync --progress $BACKUPDIR/* -e ssh xtrabackup@{{ client.target.host }}:$SERVERBACKUPDIR 2>&1 | tee $rsyncLog
+/usr/bin/rsync -rhtPpv --rsync-path=rsync --progress $BACKUPDIR/* -e ssh xtrabackup@{{ client.target.host }}:$SERVERBACKUPDIR 2>&1 | tee $rsyncLog
# Check if the rsync succeeded or failed
if ! grep -q "rsync error: " $rsyncLog; then