Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0666966
)
Getting rid of recent "chown" since we decided to forego trying to run
author
Wayne Davison
<wayned@samba.org>
Sat, 25 Jan 2003 03:45:40 +0000
(
03:45
+0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 25 Jan 2003 03:45:40 +0000
(
03:45
+0000)
the daemon tests as "nobody".
testsuite/daemon-gzip-upload.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/daemon-gzip-upload.test
b/testsuite/daemon-gzip-upload.test
index
49ddba9
..
04642ac
100644
(file)
--- a/
testsuite/daemon-gzip-upload.test
+++ b/
testsuite/daemon-gzip-upload.test
@@
-21,12
+21,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 \"$FROM/\" localhost::test-to/" "$FROM" "$TO"