-
Notifications
You must be signed in to change notification settings - Fork 253
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
file size incorrect briefly after hard link creation #724
Comments
Note that according to the user on that page, version 1.8.0 does not have this problem. |
Thanks for the report. Looks like I broke this in the v2.0 rewrite. Fixed now, and test added so this cannot regress again. |
Hi @rfjakob! Thank you very much for developing gocryptfs, it is really useful. As you fixed this bug, would you mind releasing a new version? Sorry to bother you if your release planning follows some rules I am not aware of. |
As the person who reported the git-annex issue, I can confirm that git-annex now seems to work perfectly when using gocryptfs built from master. Tested just now with:
(Apologies for the delayed response; I forgot to circle back and re-test.) |
If a file is hard linked and statted immediately afterwards, it always appears 50 bytes larger than the actual file size. Within 1 second whatever is causing this corrects itself.
I am testing on Debian, kernel 6.0.0-6-amd64. Using gocryptfs version 2.3-1+b3 installed from Debian unstable.
An example of this breaking a program is at https://git-annex.branchable.com/forum/Can_you_use_git_annex_on_gocryptfs__63__/
The text was updated successfully, but these errors were encountered: