Description of problem: When setting the stringified ACLs in the xattr dict through pub_glfs_h_setxattrs(), the size of the string is always passed as 0. The correct way is to pass the length of the ACL in text form. Version-Release number of selected component (if applicable): 3.7.0 Additional information: This needs a backport of mainline patch http://review.gluster.org/10782 (originally filed as a Coverity fix)
REVIEW: http://review.gluster.org/10890 (gfapi: zero size issue in glfs_h_acl_set()) posted (#1) for review on release-3.7 by Niels de Vos (ndevos)
REVIEW: http://review.gluster.org/10890 (gfapi: zero size issue in glfs_h_acl_set()) posted (#2) for review on release-3.7 by jiffin tony Thottan (jthottan)
REVIEW: http://review.gluster.org/10890 (gfapi: zero size issue in glfs_h_acl_set()) posted (#3) for review on release-3.7 by jiffin tony Thottan (jthottan)
REVIEW: http://review.gluster.org/10890 (gfapi: zero size issue in glfs_h_acl_set()) posted (#4) for review on release-3.7 by Niels de Vos (ndevos)
COMMIT: http://review.gluster.org/10890 committed in release-3.7 by Niels de Vos (ndevos) ------ commit a25529a0980b17567060eae8b40524381ca025d3 Author: Niels de Vos <ndevos> Date: Fri May 22 13:20:06 2015 +0200 gfapi: zero size issue in glfs_h_acl_set() When setting the stringified ACLs in the xattr dict through pub_glfs_h_setxattrs(), the size of the string is always passed as 0. The correct way is to pass the length of the ACL in text form. Backport of: > Change-Id: Ia7a7fa1f3a7d615a813c703057dc97b09a0bbb34 > BUG: 789278 > Reviewd-on: http://review.gluster.org/10782 > Signed-off-by: Jiffin Tony Thottan <jthottan> Change-Id: Ia7a7fa1f3a7d615a813c703057dc97b09a0bbb34 BUG: 1224241 Signed-off-by: Niels de Vos <ndevos> Reviewed-on: http://review.gluster.org/10890 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Shyamsundar Ranganathan <srangana>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.1, please reopen this bug report. glusterfs-3.7.1 has been announced on the Gluster Packaging mailinglist [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.packaging/1 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user