Sherlock-Holo / fuse3

an async version fuse library for rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`readlink()` doesn't work properly when `FUSE_CACHE_SYMLINKS` is enabled

KongzhangHao opened this issue · comments

I found that after a symlink is created, for example with command ln -s name link, the command ls -la will show the symlink as path -> '' rather than path -> name. I removed line 754 of file /src/raw/session.rs (i.e., reply_flags |= FUSE_CACHE_SYMLINKS), the symlink can then be created and read normally. What would be the possible cause of this? I'm also investigating it.

how long the ttl you set for the symlink? I am not sure but may be you can try reduce the ttl and check if the problem still exist?