summaryrefslogtreecommitdiffstats
path: root/xlators/system/posix-acl/src/posix-acl-xattr.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2011-07-05 03:41:51 +0000
committerVijay Bellur <vijay@gluster.com>2011-07-05 05:21:52 -0700
commit5c20eb3bbf870edadd22d06babb5d38dad222533 (patch)
treea9b30cc7ded869489d37fe4a8af8bffef144d435 /xlators/system/posix-acl/src/posix-acl-xattr.c
parent817fbc829cc71e323979315a8b718d188e45802c (diff)
access-control: Save group permissions returned from backendv3.2.2qa2
The backend permissions returned in stat for group is already masked value. Use the xattr value Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Vijay Bellur <vijay@gluster.com> BUG: 3102 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3102
Diffstat (limited to 'xlators/system/posix-acl/src/posix-acl-xattr.c')
-rw-r--r--xlators/system/posix-acl/src/posix-acl-xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/system/posix-acl/src/posix-acl-xattr.c b/xlators/system/posix-acl/src/posix-acl-xattr.c
index a473c36..aadb0ee 100644
--- a/xlators/system/posix-acl/src/posix-acl-xattr.c
+++ b/xlators/system/posix-acl/src/posix-acl-xattr.c
@@ -92,7 +92,6 @@ posix_acl_from_xattr (xlator_t *this, const char *xattr_buf, int xattr_size)
switch (ace->tag) {
case POSIX_ACL_USER_OBJ:
- case POSIX_ACL_GROUP_OBJ:
case POSIX_ACL_MASK:
case POSIX_ACL_OTHER:
ace->id = POSIX_ACL_UNDEFINED_ID;
@@ -100,6 +99,7 @@ posix_acl_from_xattr (xlator_t *this, const char *xattr_buf, int xattr_size)
case POSIX_ACL_GROUP:
case POSIX_ACL_USER:
+ case POSIX_ACL_GROUP_OBJ:
ace->id = letoh32 (entry->id);
break;