rasguanabana / ytfs

YouTube File System
MIT License
1.1k stars 45 forks source link

Mount point doesn't show over SMB share. #24

Closed beigexperience closed 8 years ago

beigexperience commented 8 years ago

The folder in which the ytfs mount is located doesn't even show up in a samba share.

Symlinks to the folder also don't show up.


edit:

Problem seems to be fixed by changing: FUSE(YTFS(), x.mountpoint[0], foreground=x.d) to FUSE(YTFS(), x.mountpoint[0], foreground=x.d, allow_other=True)

I also had to add "user_allow_other" to /etc/fuse.conf.

rasguanabana commented 8 years ago

Thanks for noticing this. Committed fix. BTW, does samba share work well with ytfs?

beigexperience commented 8 years ago

It sort of works but it seems to hang some windows programs sometimes, not sure why.

edit: works fine if you use -P. I'm using ytfs and a smb share from a virtualbox vm on a windows host and it works fine.

On Sun, Jul 31, 2016 at 1:19 PM, Adrian Włosiak notifications@github.com wrote:

Thanks for noticing this. Committed fix. BTW, does samba share work well with ytfs?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rasguanabana/ytfs/issues/24#issuecomment-236422134, or mute the thread https://github.com/notifications/unsubscribe-auth/AK8JiHHCiBxE6RwuJ6r0Wa18MbuyGMs6ks5qbHaXgaJpZM4JYsW2 .

rasguanabana commented 8 years ago

Thanks for info. Hangs are most likely caused by waiting for read system calls. This should improve with replacing current really dumb caching with something better.