On Sun, May 17, 2015 at 07:50:40PM -0500, Peng Yu wrote:
> I see the glusterfs should support get/setfacl.
> 
> http://www.gluster.org/community/documentation/index.php/Gluster_3.2:_Setting_Access_ACLs
> 
> But when I try it, it says the following.
> 
> $ setfacl -m 'u:myuser:r-x' somedir
> setfacl: somedir: Operation not supported
> 
> `/etc/fstab` has the mount /mnt/glusterfs, where somedir is.
> 
> rigel:/gv /mnt/glusterfs glusterfs defaults,_netdev 0 0
> 
> Does anybody know how to make get/setfacl available in glusterfs?

You can enable support for ACLs with the "acl" mount option. In your
/etc/fstab, you would have something like this:

    rigel:/gv /mnt/glusterfs glusterfs _netdev,acl 0 0

The "defaults" keyword really is not needed if you have any other
options ;-)

Cheers,
Niels
_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users

Reply via email to