[Bug 8020] --acls does not honor --numeric-ids if UIDs do not match

samba-bugs at samba.org samba-bugs at samba.org
Fri Mar 18 03:14:57 MDT 2011


--- Comment #1 from Curu Wong <prinbra at gmail.com> 2011-03-18 09:14:54 UTC ---
Created attachment 6303
  --> https://bugzilla.samba.org/attachment.cgi?id=6303
rsync ACL numeric-ids option patch

It seems that rsync always maps user/group name to ids.
we can see that in function recv_ida_entries(ida_entries *ent, int f) in
acls.c, if data sent from remote end contains user/group name info, it will
always map that user/group name to local id, never honour the --numeric-ids
option and use the uid/gid from remote end directly.

This patch should fix this problem.

tested on:
fedora 14 i386
CentOS 5.5 x86_64

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list