[Bug 7865] files or dirs with more than 16 ACLs are not rsynced correctly

samba-bugs at samba.org samba-bugs at samba.org
Sat Jun 18 14:04:59 MDT 2011


https://bugzilla.samba.org/show_bug.cgi?id=7865

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Wayne Davison <wayned at samba.org> 2011-06-18 20:04:58 UTC ---
What we need to know is what part of the sys_acl_get_file() function for HPUX
fails.  It should call:

acl_d = sys_acl_init(16);
count = acl(path, ACL_GET, 16, &acl_d->acl[0]);

If that fails (count < 0), is errno ENOSPC?  If not, what is the errno?

If errno is ENOSPC, it will call:

sys_acl_free_acl(acl_d);
count = acl(path, ACL_CNT, 0, NULL)

If that fails (count < 0), what is the right call to find the count?

If that succeeds, it calls:

acl_d = sys_acl_init(count)
count = acl(path, ACL_GET, count, &acl_d->acl[0])

That call should succeed.  If it doesn't, what is the errno?

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list