Send the uid/gid 0 name since not all systems use 0 for root.
[rsync.git] / options.c
index 956d6e33ee715d0080016c0f84dedc8b8d561b22..5a372ae7de30ee6a40a83aa73cbd8babce0a1746 100644 (file)
--- a/options.c
+++ b/options.c
@@ -2608,6 +2608,7 @@ void server_options(char **args, int *argc_p)
                eFlags[x++] = 'C'; /* support checksum seed order fix */
                eFlags[x++] = 'I'; /* support inplace_partial behavior */
                eFlags[x++] = 'v'; /* use varint for flist & compat flags; negotiate checksum */
+               eFlags[x++] = 'u'; /* include name of uid 0 & gid 0 in the id map */
                /* NOTE: Avoid using 'V' -- it was the high bit of a write_byte() that became write_varint(). */
 #undef eFlags
        }