[SCM] The rsync repository. - branch master updated
Rsync CVS commit messages
rsync-cvs at lists.samba.org
Wed May 25 09:59:00 MDT 2011
The branch, master has been updated
via 582aead Expand NO_ENTRY items from fake-super ACLs in get_rsync_acl().
from d518e02 Use a union for idlist's name/max_id value. Fixes bug 8137.
;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 582aead623bd2e9d157e84ca2ffbb501330369c1
Author: Wayne Davison <wayned at samba.org>
Date: Wed May 25 08:59:47 2011 -0700
Expand NO_ENTRY items from fake-super ACLs in get_rsync_acl().
-----------------------------------------------------------------------
Summary of changes:
acls.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/acls.c b/acls.c
index 90279fc..35734bb 100644
--- a/acls.c
+++ b/acls.c
@@ -495,9 +495,15 @@ static int get_rsync_acl(const char *fname, rsync_acl *racl,
}
racl->user_obj = IVAL(buf, 0);
+ if (racl->user_obj == NO_ENTRY)
+ racl->user_obj = (mode >> 6) & 7;
racl->group_obj = IVAL(buf, 4);
+ if (racl->group_obj == NO_ENTRY)
+ racl->group_obj = (mode >> 3) & 7;
racl->mask_obj = IVAL(buf, 8);
racl->other_obj = IVAL(buf, 12);
+ if (racl->other_obj == NO_ENTRY)
+ racl->other_obj = mode & 7;
if (cnt) {
char *bp = buf + 4*4;
--
The rsync repository.
More information about the rsync-cvs
mailing list