You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the problem is in recv_ida_entries() function in acls.c.
if (has_name) {
if (access & NAME_IS_USER)
id = recv_user_name(f, id);
else
id = recv_group_name(f, id, NULL);
} else if (access & NAME_IS_USER) {
if (inc_recurse && am_root && !numeric_ids) <--- THIS LINE
id = match_uid(id);
} else {
if (inc_recurse && (!am_root || !numeric_ids))
id = match_gid(id, NULL);
}
UIDs are not mapped if rsync works on behalf of a non-privileged user.
Not sure what’s the idea behind this logic. For me it looks like a bug.
iizhikov
changed the title
Rsync do not map UID for POSIX ACL entry where USER = FILE OWNER
Rsync does not map UID for POSIX ACL entry where USER = FILE OWNER
May 30, 2024
iizhikov
changed the title
Rsync does not map UID for POSIX ACL entry where USER = FILE OWNER
Rsync does not map UID for POSIX ACL entries where USER = FILE OWNER
May 30, 2024
Rsync does not map UID for POSIX ACL entries where USER = FILE OWNER.
Steps to reproduce:
Create two test users. Users must have different UIDs on the localhost and remotehost.
The text was updated successfully, but these errors were encountered: