<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 2, 2018 at 3:54 AM, lejeczek <span dir="ltr"><<a href="mailto:peljasz@yahoo.co.uk" target="_blank">peljasz@yahoo.co.uk</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"><br>
<br>
On 01/05/18 23:59, Vijay Bellur wrote:<span class="gmail-"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
On Tue, May 1, 2018 at 5:46 AM, lejeczek <<a href="mailto:peljasz@yahoo.co.uk" target="_blank">peljasz@yahoo.co.uk</a> <mailto:<a href="mailto:peljasz@yahoo.co.uk" target="_blank">peljasz@yahoo.co.uk</a>>> wrote:<br>
<br>
hi guys<br>
<br>
I have a simple case of:<br>
$ setfacl -b<br>
not working!<br>
I copy a folder outside of autofs mounted gluster vol,<br>
to a regular fs and removing acl works as expected.<br>
Inside mounted gluster vol I seem to be able to<br>
modify/remove ACLs for users, groups and masks but<br>
that one simple, important thing does not work.<br>
It is also not the case of default ACLs being enforced<br>
from the parent, for I mkdir a folder next to that<br>
problematic folder and there are not ACLs, as expected.<br>
<br>
glusterfs 3.12.9, Centos 7.4<br>
<br>
Any thoughts, suggestions?<br>
<br>
<br>
Are you mounting glusterfs with -o acl ? In the case you are not, mounting with option acl is necessary for glusterfs to honor ACLs.<br>
<br>
Regards,<br>
Vijay<br>
<br>
<br>
</blockquote></span>
surely I'm. Otherwise I'd have no "working" acls, right? Like I say, I can operate setfacl and this seems to work except, I cannot remove acl completely with "-b" which should just work, right?<br></blockquote><div><br></div><div>Yes, it should ideally work.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I think it should be easily reproducible, my setup is pretty "regular". I'm on Centos 7.4 and mount via autofs/manuall. Anybody can check that?</blockquote><div><br></div><div><br></div><div>Here's a test that passed with a manual mount while using 3.12.9: </div><div><br></div><div><div>[root@deepthought ~]# mount -t glusterfs -o acl deepthought:/foo /mnt/gluster</div><div>[root@deepthought ~]# cd /mnt/gluster/</div><div>[root@deepthought gluster]# setfacl -m u:nobody:rw foo</div><div>[root@deepthought gluster]# getfacl foo</div><div># file: foo</div><div># owner: root</div><div># group: root</div><div>user::-w-</div><div>user:nobody:rw-</div><div>group::r--</div><div>mask::rw-</div><div>other::r--</div><div><br></div><div>[root@deepthought gluster]# setfacl -b foo</div><div>[root@deepthought gluster]# echo $?</div><div>0</div><div>[root@deepthought gluster]# getfacl foo</div><div># file: foo</div><div># owner: root</div><div># group: root</div><div>user::-w-</div><div>group::r--</div><div>other::r--</div></div><div><br></div><div><br></div><div>Can you please share the sequence of acl commands that causes "setfacl -b" to fail in your setup?</div><div><br></div><div>Thanks,</div><div>Vijay</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a></div></div></blockquote></div><br></div></div>