We are trying to port glusterfs to FreeBSD There is a port candidate WIP; https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194409 Unfortunately we have hit a problem. We don't seem to be allowing ordinary users to access the mounts. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194409#c10 I am experiencing the same with 3.7.2 ##### craig@zbox:/data/brick1> sudo glusterfs --volfile-id=gv0 --volfile-server=zbox /mnt/glusterfs craig@zbox:/data/brick1> mount | grep fuse /dev/fuse on /mnt/glusterfs (fusefs, local, synchronous) craig@zbox:/data/brick1> ls -ld /mnt/glusterfs drwxr-xr-x 4 root wheel 9 23 Jun 02:36 /mnt/glusterfs craig@zbox:/data/brick1> ls /mnt/glusterfs/ ls: /mnt/glusterfs/: Operation not permitted craig@zbox:/data/brick1> id uid=1001(craig) gid=1001(craig) groups=1001(craig),0(wheel),5(operator),145(webcamd),193(cups),194(saned) craig@zbox:/data/brick1> sudo ls /mnt/glusterfs/ .trashcan yahoo ##### Please could we have some help to diagnose the issue to see if we can get it resolved. I can raise a Bugreport to the GlusterFS team if it's their code at fault. Kind Regards Craig Butler
Sorry for being unresponsive about glusterfs port for a long time. I will look into this.
Any progress here?
Bump.
Hello Nick I havn't had much luck with this or digging deeper into it at the moment. I am not sure what to do next or if Hiroki has picked it up. As it stands at the moment I am still hitting the same stumbling blocks... Kind Regards Craig Butler
(In reply to craig001 from comment #4) As I already mentioned in comment stream on #194409, it is not a problem of GlusterFS. I have attached the patch in my comment on that bug.
thanks again to andrew@rinet.ru I'm closing this as fixed, tested this morning against 3.7.6 as per other PR. Normal users can now see the mount. craig@zbox:/mnt/glusterfs> df -h . Filesystem Size Used Avail Capacity Mounted on /dev/fuse 298G 384K 298G 0% /mnt/glusterfs craig@zbox:/mnt/glusterfs> mount | grep gluster /dev/fuse on /mnt/glusterfs (fusefs, local, synchronous) craig@zbox:/mnt/glusterfs> ls -l total 1 -rw-r--r-- 1 root wheel 4 23 Jun 02:36 yahoo