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

sshfs edit hard link files problem #107

Closed
obarong opened this issue Nov 29, 2017 · 1 comment
Closed

sshfs edit hard link files problem #107

obarong opened this issue Nov 29, 2017 · 1 comment
Labels

Comments

@obarong
Copy link

obarong commented Nov 29, 2017

a.txt and b.txt are hard links on remote ubuntu server. I modified a.txt on sshfs, b.txt did not change.

sshfs version: 2.5-1ubuntu1
local system: Ubuntu 16.04 LTS
remote server system: Ubuntu 14.04.5 LTS

@Nikratio
Copy link
Contributor

Thanks for taking the time to report this! I think this question is answered by the manpage:

CAVEATS / WORKAROUNDS
   Hardlinks
       If the SSH server supports the hardlinks extension,  SSHFS  will  allow
       you to create hardlinks. However, hardlinks will always appear as indi‐
       vidual files when seen through an SSHFS mount, i.e. they will appear to
       have different inodes and an st_nlink value of 1.

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

No branches or pull requests

2 participants