From 9ae6155eb43ca7f6bd6b7d49d3e85544367e5622 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 11 Jun 2019 14:53:13 +0200 Subject: Fix rsync permission issue --- rep-publish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rep-publish') diff --git a/rep-publish b/rep-publish index 8db26e0..6e555a4 100755 --- a/rep-publish +++ b/rep-publish @@ -29,5 +29,5 @@ if [ -z "$host" ]; then fi shift -rsync -v -rlpt -c --exclude '.*' --copy-unsafe-links --prune-empty-dirs \ ---delete-after $* $dir/ $host +rsync -v -rltO -c --chmod=ugo=rwX --exclude '.*' --copy-unsafe-links \ +--prune-empty-dirs --delete-after $* $dir/ $host -- cgit v1.1