Comment 8 for bug 1305335

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

This sounds similar to a situation that I discovered using Ubuntu 14.10 and 15.04:

I have an encrypted home folder (in its own subvolume, in case that's relevant) and have created a symlink for Downloads to an external directory outside the subvolume. Files that I copy from this external directory into home (~) using "cp --reflink=auto" are always truncated to zero bytes without any error given during the file copy. It seems to be the symlink causing the confusion because files that I copy from other external directories are fine.

As I understand it, the reflink option should be smart enough to know when it needs to do a full copy (eg if you are copying to another file system) so the reflink option should be safe to use. So the problem is probably an issue occurring due to the combination of btrfs and ecryptfs rather than with nautilus/gnome-virtual-file-system.