← Back to team overview

desktop-packages team mailing list archive

[Bug 1305335] 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.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1305335

Title:
  nautilus fails to copy to ecryptfs Private folder on btrfs - all files
  0 bytes

Status in eCryptfs:
  New
Status in nautilus package in Ubuntu:
  Confirmed

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.

  Thanks,
  Damon

  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)
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

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