<br><br>On Monday, May 18, 2015, Niels de Vos &lt;<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, May 17, 2015 at 07:50:40PM -0500, Peng Yu wrote:<br>
&gt; I see the glusterfs should support get/setfacl.<br>
&gt;<br>
&gt; <a href="http://www.gluster.org/community/documentation/index.php/Gluster_3.2:_Setting_Access_ACLs" target="_blank">http://www.gluster.org/community/documentation/index.php/Gluster_3.2:_Setting_Access_ACLs</a><br>
&gt;<br>
&gt; But when I try it, it says the following.<br>
&gt;<br>
&gt; $ setfacl -m &#39;u:myuser:r-x&#39; somedir<br>
&gt; setfacl: somedir: Operation not supported<br>
&gt;<br>
&gt; `/etc/fstab` has the mount /mnt/glusterfs, where somedir is.<br>
&gt;<br>
&gt; rigel:/gv /mnt/glusterfs glusterfs defaults,_netdev 0 0<br>
&gt;<br>
&gt; Does anybody know how to make get/setfacl available in glusterfs?<br>
<br>
You can enable support for ACLs with the &quot;acl&quot; mount option. In your<br>
/etc/fstab, you would have something like this:<br>
<br>
    rigel:/gv /mnt/glusterfs glusterfs _netdev,acl 0 0</blockquote><div><br></div><div>I tried this. But it still see the same error message when I call setfacl. Also, setfacl works <span></span>on directories in glusterfs servers. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The &quot;defaults&quot; keyword really is not needed if you have any other<br>
options ;-)<br>
<br>
Cheers,<br>
Niels<br>
</blockquote><br><br>-- <br>Regards,<br>Peng<br>