Commit 61ab574e authored by Wayne Davison's avatar Wayne Davison

Moved the chown from the download test to the upload test.

parent 660cb6a0
......@@ -27,12 +27,5 @@ RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
hands_setup
# If we are root, we must allow the rsyncd process (which runs under
# a different uid/gid) to write to the destination directory. Source
# directory must be chown'ed as well so that UIDs & GIDs match when
# the source & destination are compared after copying.
chown -R $RSYNCD_UID:$RSYNCD_GID "$FROM" "$TO" 2>/dev/null || true
checkit "$RSYNC -avvz localhost::test-from/ \"$TO/\"" "$FROM" "$TO"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment