<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">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</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>
&gt;  Hi,<br>
&gt;<br>
&gt; I want to enable ACL support on gluster volume using the kernel NFS ACL<br>
&gt; support so I have followed below steps after creation of gluster volume:<br>
&gt;<br>
&gt; 1. mount -t glusterfs -o acl 10.32.0.48:/c_glusterfs /tmp/a2<br>
&gt;<br>
&gt; 2.       update the /etc/exports file<br>
&gt; /tmp/a2 10.32.*(rw,acl,sync,no_subtree_check,no_root_squash,fsid=14)<br>
&gt;<br>
&gt; 3.       exportfs –ra<br>
&gt;<br>
&gt; 4.       gluster volume set c_glusterfs nfs.acl off<br>
&gt;<br>
&gt; 5.       gluster volume set c_glusterfs nfs.disable on<br>
&gt;<br>
&gt; we have disabled above two options because we are using Kernel NFS ACL<br>
&gt; support and that is already enabled.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; on other board mounting it using<br>
&gt;<br>
&gt; mount -t nfs -o acl,vers=3 10.32.0.48:/tmp/a2 /tmp/e/<br>
&gt;<br>
&gt; setfacl -m u:application:rw /tmp/e/usr<br>
&gt; 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 &quot;-o acl&quot; 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">&gt; 1. mount -t glusterfs -o acl 10.32.0.48:/c_glusterfs /tmp/a2<br>
&gt;<br>
&gt; 2.       update the /etc/exports file<br>
&gt; /tmp/a2 10.32.*(rw,acl,sync,no_subtree_check,no_root_squash,fsid=14)<br>
&gt;</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>
&gt;<br>
&gt; and application is the system user like below<br>
&gt;<br>
&gt; application:x:102:0::/home/application:/bin/sh<br>
&gt;<br>
&gt; I don&#39;t why I am getting this failure when I enabled all the acl support in<br>
&gt; each steps.<br>
&gt;<br>
&gt; Please let me know how can I enable this.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Abhishek<br>
<br>
</span><div class=""><div class="h5">&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; <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>