Bug 764044 (GLUSTER-2312)

Summary: read/write operations fail for non-primary group ownership
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: posixAssignee: Vijay Bellur <vbellur>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, pkarampu
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: fuse
Documentation: DNR CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pranith Kumar K 2011-01-24 02:58:31 UTC

*** This bug has been marked as a duplicate of bug 2296 ***

Comment 1 Raghavendra G 2011-01-24 05:55:02 UTC
raghu@booradley:~$ groups                
users lp floppy audio video cdrom
raghu@booradley:~$ ls -l /mnt/raghu/file
-rwxrwx--- 1 root users 8 2011-01-24 11:23 /mnt/raghu/file*
raghu@booradley:~$ cat /mnt/raghu/file
content
raghu@booradley:~$ echo "content-new" > /mnt/raghu/file
raghu@booradley:~$ cat /mnt/raghu/file
content-new
raghu@booradley:~$ groups
users lp floppy audio video cdrom
raghu@booradley:~$ su -c 'chown root:lp /mnt/raghu/file'
Password: 
raghu@booradley:~$ ls -l /mnt/raghu/file
-rwxrwx--- 1 root lp 12 2011-01-24 11:24 /mnt/raghu/file*
raghu@booradley:~$ cat /mnt/raghu/file
cat: /mnt/raghu/file: Operation not permitted
raghu@booradley:~$ echo "content-new" > /mnt/raghu/file
bash: /mnt/raghu/file: Operation not permitted

A similar bug was filed and fixed for NFS as bug 763777.

regards,
Raghavendra.