The Samba-Bugzilla – Bug 12955
[patch] Fix rsync -A on AIX
Last modified: 2017-08-16 13:55:02 UTC
Created attachment 13458 [details]
Fix rsync -A on AIX
When use rsync (version 3.1.2) to synchronize ACLs files (rsync -A) on
AIX 7.2(also on AIX 6.1 and AIX 5.3), the errors would occur as
rsync: change_sacl_perms: sys_acl_get_tag_type(): No such file or directory (2)
rsync: change_sacl_perms: sys_acl_get_tag_type(): Error 0 (0)
This patch fixes the problem and has been tested on AIX 5.3, 6.1 and 7.2.
It also has been tested to synchronize ACLs files from Linux to AIX.
Created attachment 13478 [details]
Fix rsync ACL files on AIX
Because the chmod(2) will disable ACL permission on AIX (see https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/com.ibm.aix.security/access_control_list.htm), so this is a full patch for fixing the problem that can't synchronize ACL files on AIX.