rsync/tests/setting-group-acls/PURPOSE
Troy Dawson 9e4b0bf82d RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/rsync#47694dc9540f95cb1551999121cac4aab283e718
2020-10-14 21:54:13 -07:00

4 lines
438 B
Plaintext

PURPOSE of setting-group-acls
Description: If you are using the -A/--acls option and you are not running as root and are not using the --numeric-ids option then if you have an ACL that includes a group entry for a group you are not a member of on the receiving side, then acl_set_file will return EINVAL, b/c rsync mistakenly maps the group name to gid GID_NONE (-1), which (fortunately) fails.
Author: Ales Marecek <amarecek@redhat.com>