Bug 12196 - --numeric-ids broke usermap and groupmap in acls
--numeric-ids broke usermap and groupmap in acls
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.1.2
x64 Linux
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-31 14:17 UTC by Piotr Rotter
Modified: 2016-08-31 14:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Rotter 2016-08-31 14:17:59 UTC
Hi,

In case I do:
rsync -Aaxq --delete --ignore-errors --usermap=33:44 --groupmap=33:44 user@server::backup/source/ /dest/

The result is:
# getfacl file
user::rw-
user:44:r--
group::rw-
group:44:r--
mask::rw-
other::---

Looks ok. But in case:
rsync -Aaxq --delete --ignore-errors --numeric-ids --usermap=33:44 --groupmap=33:44 user@server::backup/source/ /dest/

The result is:
# getfacl file
user::rw-
user:33:r--
group::rw-
group:33:r--
mask::rw-
other::---

It looks like rsync ignored usermap groupma for acls. Non acls rights mapping still works ok.

I would also suggest adding the --addacl would be very useful.