Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KongzhangHao opened this issue Jan 3, 2023 · 1 comment

Comments

@KongzhangHao
Copy link
Contributor

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.

@Sherlock-Holo
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants