Thanks - I can reproduce this and have tracked down the problem. We're
missing an eCryptfs metadata read, in the ecryptfs_getattr() path, after
a metadata read in the lookup() path fails. This results in a stat()
call returning an incorrect inode size and then subsequent read()'s not
adding up to the correct file size.

I've started on a fix, but will need a bit more time, as this code is
fragile and needs improvements outside of this bug.

** Changed in: ecryptfs-utils (Ubuntu)
       Status: Confirmed => In Progress

** Also affects: ecryptfs
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/842647

Title:
  [git] file blocks duplicated at the end of the file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ecryptfs/+bug/842647/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to