From 85c0d9721c5ef29d90e883cd3f04e2a8f7301bfe Mon Sep 17 00:00:00 2001 From: Simon Paillard Date: Sat, 13 Mar 2010 16:21:32 +0100 Subject: Defualt RSYNC_OPTIONS: preserve permissions --- bin/ftpsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ftpsync') diff --git a/bin/ftpsync b/bin/ftpsync index 6e9daeb..580a80f 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -278,7 +278,7 @@ RSYNC=${RSYNC:-rsync} # excluded files RSYNC_FILTER=${RSYNC_FILTER:-"--filter=protect_Archive-Update-in-Progress-${MIRRORNAME} --filter=protect_${TRACE} --filter=protect_Archive-Update-Required-${MIRRORNAME}"} # Default rsync options for *every* rsync call -RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-rltvHSB8192 --timeout 3600 --stats ${RSYNC_FILTER}"} +RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-prltvHSB8192 --timeout 3600 --stats ${RSYNC_FILTER}"} # Options we only use in the first pass, where we do not want packages/sources to fly in yet and dont want to delete files RSYNC_OPTIONS1=${RSYNC_OPTIONS1:-"--exclude Packages* --exclude Sources* --exclude Release* --exclude ls-lR*"} # Options for the second pass, where we do want everything, including deletion of old and now unused files -- cgit v1.2.3