cryfs icon indicating copy to clipboard operation
cryfs copied to clipboard

Mountpoint directory timestamps are constantly changing

Open gitqlt opened this issue 6 years ago • 0 comments

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

gitqlt avatar Feb 19 '20 23:02 gitqlt