Bug 764845 (GLUSTER-3113) - unable to modify the permissions for group
Summary: unable to modify the permissions for group
Keywords:
Status: CLOSED WORKSFORME
Alias: GLUSTER-3113
Product: GlusterFS
Classification: Community
Component: access-control
Version: pre-release
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-30 06:55 UTC by M S Vishwanath Bhat
Modified: 2016-06-01 01:55 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description M S Vishwanath Bhat 2011-06-30 06:55:01 UTC
I created a file as root. then changed the ownership of the file to 'testacl' then changed the group to 'grpacl'. now when i tried to change the permissions for group using setfacl I'm getting the error saying operation not supported.

root@tortuga:/mnt/gluster# getfacl cleanup.sh 
# file: cleanup.sh
# owner: root
# group: root
user::rwx
group::r--
other::r--

root@tortuga:/mnt/gluster# chown testacl cleanup.sh 
root@tortuga:/mnt/gluster# chgrp grpacl cleanup.sh 
root@tortuga:/mnt/gluster# getfacl cleanup.sh 
# file: cleanup.sh
# owner: testacl
# group: grpacl
user::rwx
group::r--
other::r--

root@tortuga:/mnt/gluster# setfacl -m g:grpacl:rwx cleanup.sh 
setfacl: cleanup.sh: Operation not supported
root@tortuga:/mnt/gluster# 

But when I repeated the above exercise in back-end filesystem, I was able to to change that.

root@tortuga:/disk/samba-export# setfacl -m g:grpacl:rwx cleanup.sh 
root@tortuga:/disk/samba-export# getfacl cleanup.sh 
# file: cleanup.sh
# owner: testacl
# group: grpacl
user::rwx
group::r--
group:grpacl:rwx
mask::rwx
other::r--


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