rsync-3.1.0 bug in cmdline parsing for option --usermap and --groupmap

Dieter Eubell @ ITWM dieter.eubell at
Wed Apr 30 11:06:03 MDT 2014


I think there is a small bug in cmdline parsing for option usermap and
groupmap. If you give multiple mappings to --usermap or --groupmap, only
the first one is used.

Example: rsync -a --usermap=userA:userB,userC:userD <src> <dst>
-> Only the user mapping for userA to userB is used, the second mapping is 

The attached patch fixed the problem for me.

Greetings Dieter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsync-3.1.0-idrange.patch
Type: text/x-patch
Size: 371 bytes
Desc: not available
URL: <>

More information about the rsync mailing list