[Gluster-users] GlusterFS 3.7.2 and ACL

Jiffin Tony Thottan jthottan at redhat.com
Wed Jul 29 13:16:06 UTC 2015



On 29/07/15 18:04, Jüri Palis wrote:
> Hi,
>
> setfacl for dir on local filesystem:
>
> 1. set acl setfacl -m g:x_meie_sec-test02:rx test
> 2. get acl
>
> # getfacl test
> user::rwx
> group::r-x
> group:x_meie_sec-test02:r-x
> mask::r-x
> other::r-x
>
> setfacl for dir on GlusterFS volume which is NFS mounted to client system
>
> 1. same command is used for setting ACE, no error is returned by that command
> 2. get acl
>
> #getfacl test
> user::rwx
> group::r-x
> other::---
>
>
> If I use ordinary file as a target on GlusterFS like this
>
> setfacl -m g:x_meie_sec-test02:rw dummy
>
> then ACE entry is set for file dummy stored on GlusterFS
>
> # getfacl dummy
> user::rw-
> group::r--
> group:x_meie_sec-test02:rw-
> mask::rw-
> other::—
>
> So, as you can see setting ACLs for files works but does not work for directories.
>
> This all is happening on CentOS7, running GlusterFS 3.7.2

Hi Jyri,

It seems there are couple of issues ,

1.)  when u set a named group acl for file/directory, it clears the 
permission of others too.
2.)  named group acl is not working properly for directories ,

I will try the same on my setup and share my findings.
--
Jiffin

> J.
> On 29 Jul 2015, at 15:16, Jiffin Thottan <jthottan at redhat.com> wrote:
>
>>
>> ----- Original Message -----
>> From: "Jüri Palis" <jyri.palis at gmail.com>
>> To: gluster-users at gluster.org
>> Sent: Wednesday, July 29, 2015 4:19:20 PM
>> Subject: [Gluster-users] GlusterFS 3.7.2 and ACL
>>
>> Hi
>>
>> Setup:
>> GFS 3.7.2, NFS is used for host access
>>
>> Problem:
>> POSIX ACL work correctly when ACLs are applied to files but do not work when ACLs are applied to directories on GFS volumes.
>>
>> How can I debug this issue more deeply?
>>
>> Can you please explain the issue with more details, i.e what exactly not working properly , is it setting acl or any functionality issue, in which client?
>> __
>> Jiffin
>>
>> Regards,
>> Jyri
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-users
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list