`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?