Skip to content

Commit 5eacb9b

Browse files
porthos. Ignore upstream rsync permissions
1 parent c2794f5 commit 5eacb9b

File tree

1 file changed

+1
-1
lines changed
  • porthos/root/usr/local/bin

1 file changed

+1
-1
lines changed

porthos/root/usr/local/bin/xrsync

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fi
5757
for ((I=1; I <= attempts; I++)); do
5858
src_id=$(( (src_seed + I) % ${#src_list[@]} ))
5959
src="${src_list[$src_id]}${poolp}"
60-
rsync -aqSH --no-super --no-g --no-o "${@}" "${src}" "${dest}" 2>>"${tmperr}"
60+
rsync -aqSH --no-super --no-perms --chmod=ugo=rwX --no-g --no-o "${@}" "${src}" "${dest}" 2>>"${tmperr}"
6161
ret_rsync=$?
6262
if [[ $ret_rsync == 0 ]]; then
6363
exit 0

0 commit comments

Comments
 (0)