<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 6:37 PM, Niels de Vos <span dir="ltr"><<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Tue, Apr 26, 2016 at 12:11:06PM +0530, ABHISHEK PALIWAL wrote:<br>
> Hi,<br>
><br>
> I want to enable ACL support on gluster volume using the kernel NFS ACL<br>
> support so I have followed below steps after creation of gluster volume:<br>
><br>
> 1. mount -t glusterfs -o acl 10.32.0.48:/c_glusterfs /tmp/a2<br>
><br>
> 2. update the /etc/exports file<br>
> /tmp/a2 10.32.*(rw,acl,sync,no_subtree_check,no_root_squash,fsid=14)<br>
><br>
> 3. exportfs –ra<br>
><br>
> 4. gluster volume set c_glusterfs nfs.acl off<br>
><br>
> 5. gluster volume set c_glusterfs nfs.disable on<br>
><br>
> we have disabled above two options because we are using Kernel NFS ACL<br>
> support and that is already enabled.<br>
><br>
><br>
><br>
> on other board mounting it using<br>
><br>
> mount -t nfs -o acl,vers=3 10.32.0.48:/tmp/a2 /tmp/e/<br>
><br>
> setfacl -m u:application:rw /tmp/e/usr<br>
> setfacl: /tmp/e/usr: Operation not supported<br>
<br>
</span>Have you tried to set/getfacl on the Gluster FUSE mountpoint (/tmp/a2)<br>
too? Depending on the filesystem that you use on the bricks, you may<br>
need to mount with "-o acl" there as well. Try to set/get an ACL on all<br>
of these different levels to see where is starts to fail.<br></blockquote><div>Yes, you can check I have already given -o acl on /tmp/a2 as well as below<br><br><span class="im">> 1. mount -t glusterfs -o acl 10.32.0.48:/c_glusterfs /tmp/a2<br>
><br>
> 2. update the /etc/exports file<br>
> /tmp/a2 10.32.*(rw,acl,sync,no_subtree_check,no_root_squash,fsid=14)<br>
></span> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks,<br>
Niels<br>
<span class="im"><br>
><br>
> and application is the system user like below<br>
><br>
> application:x:102:0::/home/application:/bin/sh<br>
><br>
> I don't why I am getting this failure when I enabled all the acl support in<br>
> each steps.<br>
><br>
> Please let me know how can I enable this.<br>
><br>
> Regards,<br>
> Abhishek<br>
<br>
</span><div class=""><div class="h5">> _______________________________________________<br>
> Gluster-devel mailing list<br>
> <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
> <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div></div>