A user file with following permission is not allowed to be copied to GlusterFS based directory with permission of 755. Create a user file with permission of 400. cp the file to a directory created by the same user based on GlusterFS. Permission is denied. The same steps works fine on pure ext3. [root@cacfs01 ~]# ls -l /tmp/inst_doc.pdf -r-------- 1 shl1 Domain Users 589462 Nov 4 15:04 /tmp/inst_doc.pdf [root@cacfs01 ~]# ls -ld /export/glusterfs/shl1/ drwxr-xr-x 30 shl1 Domain Users 24576 Nov 4 15:04 /export/glusterfs/shl1/ --- As user shl1, when I try to copy /tmp/inst_doc into gluster volume: -- -sh-3.2$ whoami shl1 -sh-3.2$ pwd /export/glusterfs/shl1 -sh-3.2$ cp /tmp/inst_doc.pdf /export/glusterfs/shl1 cp: writing `/export/glusterfs/shl1/inst_doc.pdf': Permission denied cp: closing `/export/glusterfs/shl1/inst_doc.pdf': Permission denied -sh-3.2$ ls -l total 0 -r-------- 1 shl1 Domain Users 0 Nov 4 15:08 inst_doc.pdf --
PATCH: http://patches.gluster.com/patch/5643 in master (access-control: Allow Writes/Reads to proceed without perm checks)
Fixed. Problem was in access-control, not in distribute.
*** Bug 2046 has been marked as a duplicate of this bug. ***
Access control issues are already documented.. and the enhancements are internal.