winfsp / cgofuse

Cross-platform FUSE library for Go - Works on Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD
https://winfsp.dev
MIT License
527 stars 84 forks source link

added nlink attribute to stat in hellofs example #81

Open JoKr4 opened 1 year ago

JoKr4 commented 1 year ago

these assigments were missing compared to the original c examples in https://github.com/libfuse/libfuse/blob/master/example/hello.c#L63

as a result, the fuse mount is not visible if its in a samba share accessed from a windows computer (even if option "allow_other" is set) this issue helped me finding it