mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 21:04:15 -04:00
Don't send user/group names for ACLs with --numeric-ids.
Fixes bug 8020.
This commit is contained in:
1 parent
0b67d5e396
commit
2792a83d58
1 file changed
+2
-2
@@ -589,9 +589,9 @@ static void send_ida_entries(int f, const ida_entries *idal)
|
||||
const char *name;
|
||||
if (ida->access & NAME_IS_USER) {
|
||||
xbits |= XFLAG_NAME_IS_USER;
|
||||
name = add_uid(ida->id);
|
||||
name = numeric_ids ? NULL : add_uid(ida->id);
|
||||
} else
|
||||
name = add_gid(ida->id);
|
||||
name = numeric_ids ? NULL : add_gid(ida->id);
|
||||
write_varint(f, ida->id);
|
||||
if (inc_recurse && name) {
|
||||
int len = strlen(name);
|
||||
|
||||
Reference in new issue
Block a user