Problem description: The default permissions of a directory or file is given when they are created, irrespective of the client's umask.there is upstream github issue is tracking this issue. https://github.com/gluster/glusterfs/issues/301
https://review.gluster.org/18955: Available in release 4.0