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

Mountpoint directory timestamps are constantly changing #327

Open
gitqlt opened this issue Feb 19, 2020 · 0 comments
Open

Mountpoint directory timestamps are constantly changing #327

gitqlt opened this issue Feb 19, 2020 · 0 comments

Comments

@gitqlt
Copy link

gitqlt commented Feb 19, 2020

Expected Behavior

Leave the mountPoint directory mtime unchanged if no file operations are carried out in it

Actual Behavior

mountPoint directory timestamps are constantly changing

Steps to Reproduce the Problem

  1. $ cryfs wdir1.cry workdir1 (answer: yes yes yes ...)
  2. $ stat workdir1
  3. $ stat workdir1
    ...

Specifications

  • CryFS Version: 0.10.2+159.g87a253ad
  • Operating System: Ubuntu 18.04.4
  • ext4 filesystem on a local hard drive

Note

If you try to repeatedly calculate the workdir1 checksum as follows:
$ tar -cf - workdir1 | md5sum

Instead of getting the same unchanged checksum (if no changes were made in the filesystem), you get a different checksum and a warning each time:
tar: file was changed as we read it

If possible, it is better to follow the normal timestamp policy with the mountpoint directory.
Thank you very much

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

1 participant