← Back to team overview

desktop-packages team mailing list archive

[Bug 1305335] Re: Cutting or copying files on btrfs to ecryptfs results in data loss


I still have a running system with this issue. 
It is not an ubuntu box but Arch 64. This is a fresh install. 

I "stole" the disk layout from the ubuntu documentation for this system:
one btrfs partition with @ subvolume for / and @home subvolume for /home. 
The system also uses a vfat ESP as it is an UEFI install.
Default kernel: currently 3.18.6-1-ARCH

I installed ecryptfs-utils (ecryptfs-utils 104-1) from the arch repo and did the following as configuration:

The described setup above is currently working on an ext4 arch 64 bit
system but not on btrfs system...

A copy or move with nautilus to Private folder results in file(s) with 0 bytes (on all file formats I have tested).
A cp or mv to Private folder results in proper amount of bytes but something is also wrong as
thumbnails for jpg are not showing in Private folder with nautilus although thumbnails are enabled. So maybe header is getting corrupted or something.
I also tested avi and tga but these did give me thumbnails. I have not tested other file formats at this time.

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.

  Cutting or copying files on btrfs to ecryptfs results in data loss

Status in eCryptfs:
Status in linux package in Ubuntu:
Status in nautilus package in Ubuntu:

Bug description:
  I've installed a fresh copy of 14.04 beta 2 on a brand-new SSD.  I
  used btrfs as the filesystem.

  I set up a Private folder usying ecryptfs-setup-private.

  I copied a few folders into the Private folder, and the entire
  directory structure and subfolders are copied, including the files
  themselves, yet every file contains 0 bytes.

  However, I can create and save new files in the Private directory.
  Also, folders and files can be correctly copied if I use the command line cp -R.


  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: nautilus 1:3.10.1-0ubuntu8
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Apr  9 18:12:56 2014
  EcryptfsInUse: Yes
  GsettingsChanges: b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']"
  InstallationDate: Installed on 2014-04-05 (4 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
   PATH=(custom, no user)
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to: