Rather than literally "nobody", try using uid/gid = 65534 as
authorMartin Pool <mbp@samba.org>
Fri, 22 Mar 2002 06:12:51 +0000 (06:12 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 22 Mar 2002 06:12:51 +0000 (06:12 +0000)
"nobody".  The existing code kind-of assumes this.

testsuite/rsync.fns

index 4682b4f..6a06a92 100644 (file)
@@ -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