Bug 764193 (GLUSTER-2461) - remove xattr of trusted.gfid succeeds
Summary: remove xattr of trusted.gfid succeeds
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2461
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-24 11:04 UTC by shishir gowda
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description shishir gowda 2011-02-24 11:04:57 UTC
Add check to prevent removal of trusted.gfid.

Comment 1 Anand Avati 2011-03-01 07:05:39 UTC
PATCH: http://patches.gluster.com/patch/6296 in master (v2 Prevent removal of trusted.gfid xattr)

Comment 2 Saurabh 2011-03-31 06:35:36 UTC
[root@centos-qa-client-1 test]# setfattr -x trusted.gfid file.999


  the log file says,

 [2011-03-31 02:22:11.411426] E [posix.c:3464:posix_removexattr] 0-dist1-posix: removexattr on /test/file.999: Operation not supported
[2011-03-31 02:22:11.411461] E [marker.c:1524:marker_removexattr_cbk] 0-dist1-marker: Operation not supported occured while creating symlinks
[2011-03-31 02:22:11.411472] I [server3_1-fops.c:679:server_removexattr_cbk] 0-dist1-server: 177: REMOVEXATTR /test/file.999 (4620795) ==> -1 (Operation not supported)

also the xattr remains same 


[root@centos-qa-client-3 test]# getfattr -m . -d -e hex file.999
# file: file.999
trusted.gfid=0xc871c4a6f75349c5b39aeec1e4061504
trusted.glusterfs.quota.113b0edb-9a03-4760-b096-200043c3fdc7.contri=0x0000000000001400


Hence moving to verified.

Tried this over fuse mount


Note You need to log in before you can comment on or make changes to this bug.