summaryrefslogtreecommitdiff
path: root/testsuite/daemon-gzip-download.test
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2003-01-21 20:19:53 +0000
committerWayne Davison <wayned@samba.org>2003-01-21 20:19:53 +0000
commit61ab574e386e623e012e2dc3afb1e0476c12ccf5 (patch)
treed78ab5d0e8c08c8629ade7bc348dcd6516013a27 /testsuite/daemon-gzip-download.test
parent660cb6a08567b62abe815e5896c0275ee3c00fb4 (diff)
downloadrsync-61ab574e386e623e012e2dc3afb1e0476c12ccf5.tar.gz
Moved the chown from the download test to the upload test.
Diffstat (limited to 'testsuite/daemon-gzip-download.test')
-rw-r--r--testsuite/daemon-gzip-download.test7
1 files changed, 0 insertions, 7 deletions
diff --git a/testsuite/daemon-gzip-download.test b/testsuite/daemon-gzip-download.test
index 31a94f59..b716a992 100644
--- a/testsuite/daemon-gzip-download.test
+++ b/testsuite/daemon-gzip-download.test
@@ -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"