drist wasn't preserving permissions on files with rsync - drist - a remote deployment tool HTML git clone git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit c6481050031bc54fa99a6fcfa7d3408850040883 DIR parent 5dc65972c62ddd2b7ba962af007ad44a41bbe400 HTML Author: Solene Rapenne <solene@perso.pw> Date: Wed, 1 Jul 2020 12:55:43 +0200 drist wasn't preserving permissions on files with rsync Diffstat: M drist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/drist b/drist @@ -64,7 +64,7 @@ copy_files() { find "${1}"/ -type f -or -type l | cut -d '/' -f 2- | tee "${LIST}" | sed 's/^/ \//' if [ "$SIMULATE" -ne 1 ] then - rsync -e "ssh $SSH_PARAMS" --rsync-path="${EXEC} rsync" -lD --files-from="${LIST}" "${1}/" "${2}":/ + rsync -e "ssh $SSH_PARAMS" --rsync-path="${EXEC} rsync" -lDp --files-from="${LIST}" "${1}/" "${2}":/ fi rm "$LIST" fi