Re: [Gluster-devel] How to enable ACL support in Glusterfs volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Apr 28, 2016 at 4:13 PM, Niels de Vos <ndevos@xxxxxxxxxx> wrote:
On Thu, Apr 28, 2016 at 12:05:37PM +0530, ABHISHEK PALIWAL wrote:
> Hi,
>
> I have one more query:
>
> I am using machine with ip 10.32.0.48 where gluster is running and mounted
> my gluster volume as follows
>
> mount -t glusterfs -o acl 10.32.0.48:/c_glusterfs /mnt/c
>
> and after that I mounted /mnt/c volume to /tmp/l on same machin 10.32.0.48
>
> mount -t nfs -o acl,vers=3 10.32.0.48:/mnt/c /tmp/l
>
> When I run setfacl command on /tmp/l (mounted as nfs) volume its not
> working
> # setfacl -m u:application:r /tmp/l/usr
> setfacl: /tmp/l/usr: Operation not supported
>
> but when I run setfacl command on /mnt/c(mounted as glusterfs) it is
> working
> # setfacl -m u:application:r /mnt/c
>
> Could you please tell me the reason for this.

Note that NFSv3 ACLs are not part of the NFS protocol itself. It is
handled by a side-band protocol. If all ACL operations on any NFS server
fail, make sure to check that the ports for NFSv3 ACLs are open. You can
chech that with 'rpcinfo -p $NFS_SERVER'.

ACL operation working fine with other NFS servers and ports are also open

 

Gluster/NFS should have ACLs enabled by default. It is possible to
disable support for ACLs in Gluster/NFS with the 'nfs.acl' volume
option, just make sure that the option is not set, or is set to 'true'.

I have tried with Gluster/NFS option where

nfs.disable off
nfs.acl on
but still getting setfacl command failure.

HTH,
Niels


>
> Regards,
> Abhishek
>
> On Wed, Apr 27, 2016 at 4:56 PM, Niels de Vos <ndevos@xxxxxxxxxx> wrote:
>
> > Thank you for your email.
> >
> > I am out of the office on 27-April-2016 and will return on 28-April-2016.
> > While I am out I will have limited access to email. When I have returned, I
> > will respond to your message as soon as possible.
> >
> > Many thanks,
> > Niels de Vos
> >
>
>
>
> --
>
>
>
>
> Regards
> Abhishek Paliwal



--




Regards
Abhishek Paliwal
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux