summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-03-22 06:12:51 +0000
committerMartin Pool <mbp@samba.org>2002-03-22 06:12:51 +0000
commit98c1b32565fc808ca2a428dbd1a5485e7997ad7d (patch)
tree65edc9b1eaae75eee7d2717d05d61f9c891c0327 /testsuite
parent7a176e87d56de890fed07b1621277ab74b21b706 (diff)
downloadrsync-98c1b32565fc808ca2a428dbd1a5485e7997ad7d.tar.gz
rsync-98c1b32565fc808ca2a428dbd1a5485e7997ad7d.tar.bz2
rsync-98c1b32565fc808ca2a428dbd1a5485e7997ad7d.zip
Rather than literally "nobody", try using uid/gid = 65534 as
"nobody". The existing code kind-of assumes this.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/rsync.fns6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns
index 4682b4fb..6a06a92c 100644
--- a/testsuite/rsync.fns
+++ b/testsuite/rsync.fns
@@ -209,6 +209,12 @@ use chroot = no
hosts allow = localhost, 127.0.0.1
log file = $logfile
+# We don't know if this machine has "nobody" or "nogroup", so use the quasi-canonical
+# values of (uint16_t) -2.
+
+uid = 65534
+gid = 65534
+
[test-from]
path = $FROM
read only = yes