Has anyone successfully used rsync to copy ACLs in AIX?
I'm having trouble convincing rsync to apply ACLs to files as root or otherwise. Googling, reading the source and docs have not helped so far. I always seem to get the error message
sys_acl_get_tag_type(): Unsupported attribute value (124).
Our rsync version is fairly recent, AIX 6.1, using a jfs2 filesystem, and I'm using a very simple test case (see below). The ACL in question seems pretty standard and simple.
What does unsupported attribute value mean? How can I get it supported? Anyone have any ideas on how to convince rsync to save and apply the acls to the destination?
$ /opt/freeware/bin/rsync -Aa /tmp/rtest/a/ /tmp/rtest/b/ rsync: change_sacl_perms: sys_acl_get_tag_type(): Unsupported attribute value (124)
$ /opt/freeware/bin/rsync --version
rsync version 3.0.7 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 32-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace,
append, ACLs, no xattrs, no iconv, no symtimes
/tmp/rtest$ aclget ./a/file
*
* ACL_type AIXC
*
attributes:
base permissions
owner(bot403): rw-
group(staff): r--
others: r--
extended permissions
enabled
permit rwx u:myuser
/tmp/rtest$ aclget ./b/file
*
* ACL_type AIXC
*
attributes:
base permissions
owner(bot403): rw-
group(staff): r--
others: r--
extended permissions
disabled
/tmp/rtest$ find . -ls 49166 1 drwxr-xr-x 4 bot403 staff 256 Nov 10 16:11 . 49167 1 drwxr-xr-x 2 bot403 staff 256 Nov 10 16:11 ./a 49169 0 -rw-r--r-- 1 bot403 staff 0 Nov 10 16:11 ./a/file 49168 1 drwxr-xr-x 2 bot403 staff 256 Nov 10 16:11 ./b 49170 0 -rw-r--r-- 1 bot403 staff 0 Nov 10 16:11 ./b/file