[Bugs] [Bug 1470489] New: bulk removexattr shouldn' t allow removal of trusted.gfid/trusted.glusterfs.volume-id

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 13 03:57:16 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1470489

            Bug ID: 1470489
           Summary: bulk removexattr shouldn't allow removal of
                    trusted.gfid/trusted.glusterfs.volume-id
           Product: GlusterFS
           Version: mainline
         Component: posix
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org



Description of problem:
    Problem:
    Bulk xattr removal doesn't check if the xattrs that are coming in xdata
    have gfid/volume-id xattrs, so there is potential for bulkremovexattr
    removing gfid/volume-id.
    I also observed that bulkremovexattr is not available for fremovexattr.

    Fix:
    Do proper checks in bulk removexattr to remove gfid/volume-id.
    Refactor [f]removexattr to reduce the differences.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list