Comment 3 for bug 1305335

Revision history for this message
Josh Hill (ingenium) wrote : Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

I just stumbled across this bug as well. Only noticed because I wasn't get thumbnails of an image I had just copied into my Private directory. I even tried using cp from the command line, so it's not a nautilus bug. Unfortunately I have no idea which (if any) files I lost as a result of this (I switched to btrfs over a month ago).

Unmounting and re-mounting the Private directory causes the files to show up, even after deleting (I added the file, saw it was corrupted, deleted it, unmounted, remounted, and it was there). It wasn't 0 bytes, so there was data there. However it was still corrupt, and the md5sum differed from the original.

I immediately copied everything out of my Private directory into a new directory. Everything went OK except for the corrupted file. It gave me input/output errors (on the original and the copies in .Trash), so I can only hope that the rest of the data is not corrupt.

This is a VERY serious bug causing data loss with no warning to the user that it's happening.