rsync-3.1.0 bug in cmdline parsing for option --usermap and --groupmap
Dieter Eubell @ ITWM
dieter.eubell at itwm.fraunhofer.de
Wed Apr 30 11:06:03 MDT 2014
Hello!
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
ignored.
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: <http://lists.samba.org/pipermail/rsync/attachments/20140430/2f187072/attachment.bin>
More information about the rsync
mailing list