diff options
-rwxr-xr-x | rep-publish | 4 | ||||
-rwxr-xr-x | stage | 2 |
2 files changed, 3 insertions, 3 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 @@ -210,7 +210,7 @@ function sync_dist () # <dist-src> <dist-dst> [<rsync-options>] info "Press Enter to start distribution upload to $d" read - rsync -v -rlpt -c --copy-unsafe-links --prune-empty-dirs \ + rsync -v -rltO -c --chmod=ugo=rwX --copy-unsafe-links --prune-empty-dirs \ $rsync_ops "$@" "$s/" "$d/" } |