diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-11 14:53:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-11 14:53:13 +0200 |
commit | 9ae6155eb43ca7f6bd6b7d49d3e85544367e5622 (patch) | |
tree | 70cbd34c2a8d569192dbed4dd06e15220caff89e /rep-publish | |
parent | 606d2522c091c087a539827f65523127e8c6d63a (diff) |
Fix rsync permission issue
Diffstat (limited to 'rep-publish')
-rwxr-xr-x | rep-publish | 4 |
1 files changed, 2 insertions, 2 deletions
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 |