Hi,
I'm in a process of developing one vfs that is intended to be used on OSX. I'm on 10.7.5. All good and works fine, but I am not able to share it via smb nor afp.
The directory (mount) becomes not accessible via smb/aft as soon as I mount my filesystem to it.
Firstly I thought this is to do with samba configuration itself. Google'd up a configuration to disable symlinks and this allows me to browse symlinks via samba but my mount it still not accessible (so not difference). My second attempt was to tweak getattr function so it returns the same arguments for '/' of the vfs as one would expect for a typical directory.
stat -s testfs (not mounted):
st_dev=234881026 st_ino=5881770 st_mode=040755 st_nlink=2 st_uid=501 st_gid=20 st_rdev=0 st_size=68 st_atime=1350601847 st_mtime=1350479298 st_ctime=1350582953 st_birthtime=1350479298 st_blksize=4096 st_blocks=0 st_flags=0
stat -s testfs (vfs mounted):
st_dev=788529171 st_ino=1 st_mode=040755 st_nlink=3 st_uid=501 st_gid=20 st_rdev=0 st_size=6 st_atime=1350668792 st_mtime=1350668792 st_ctime=1350668792 st_birthtime=1205930653 st_blksize=65536 st_blocks=8 st_flags=0
This did not help either. I cannot access 'testfs' via samba. So I am out of ideas in here..
Btw. I also tried sshfs and mounted it to my testfs. Samba/afp could not access this directory/mount either.. So it looks like to me that this is more fundamental issue rather than some misconfiguration.
When mounting my vfs and sshfs I always used -o allow_other (having added 'user_allow_other' to /etc/fuse.conf) and also tried it with -o local and without it... there was no difference. Still could not access it.
Any ideas? Is it at all possible?
Any help is greatly appreciated!
Gregory