Access fuse mounted index via samba
Using mayan 3.2.8 and samba 4.7.6 on ubuntu 18.04 I cannot access via smb a mayan fuse filesytem created with mountindex --allow-other. "user_allow_other" is set in /etc/fuse.conf.
Connecting to the samba share from windows I can see the directories structure and document filenames, but if I try to open or copy a document receive an error.
Seems the problems is that st_nlink field of fuse getattr returns 0 for regular files. Patching mayan/apps/mirroring/filesystems.py and adding 'st_nlink': 1 in getattr() I can access documents via samba