fuse3 icon indicating copy to clipboard operation
fuse3 copied to clipboard

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

Open KongzhangHao opened this issue 3 years ago • 1 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.

KongzhangHao avatar Jan 03 '23 03:01 KongzhangHao

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?

Sherlock-Holo avatar Jan 03 '23 14:01 Sherlock-Holo