Bug 12955 - [patch] Fix rsync -A on AIX
Summary: [patch] Fix rsync -A on AIX
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.2
Hardware: PPC AIX
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 14:07 UTC by Cun Gong
Modified: 2020-08-19 08:26 UTC (History)
3 users (show)

See Also:


Attachments
Fix rsync -A on AIX (767 bytes, patch)
2017-08-09 14:07 UTC, Cun Gong
no flags Details
Fix rsync ACL files on AIX (2.68 KB, patch)
2017-08-16 13:55 UTC, Cun Gong
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cun Gong 2017-08-09 14:07:50 UTC
Created attachment 13458 [details]
Fix rsync -A on AIX

Hello,

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
follows:

  rsync: change_sacl_perms: sys_acl_get_tag_type(): No such file or directory (2)

or

  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.

Thanks.

Cun
Comment 1 Cun Gong 2017-08-16 13:55:02 UTC
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.