I fixed the problem using the parameters

storage.owner-gid
and
storage.owner-uid

For those who want to see all the parameters
and their default values using:

gluster volume help set

Thank you





-------- Mensagem original --------
Assunto: [Gluster-users] how can I keep the original permissions of a directory?
Data:   Wed, 18 Jun 2014 14:15:04 -0300
De:     Volnei <vol...@vcplinux.com.br>
Empresa:        VCPLINUX
Para:   gluster-users@gluster.org



Hi,

I need that after mounting a /mysql directory,
user and group remain as mysql.mysql.
But when you ride via mount.glusterfs server1:/gvmysql /mysql
or via the /etc/fstab, the permissions are set to root.root.

how can I solve this?

Thank you




_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Reply via email to