← Back to team overview

ecryptfs team mailing list archive

[Bug 292429] Re: Error when copying directory tree with Nautilus to ~/Private using ecryptfs

 

The kernel from intrepid-proposed did not fix this problem.

I followed the steps in https://wiki.ubuntu.com/Testing/EnableProposed and ran
# apt-get install -t intrepid-proposed linux
# shutdown -r now new kernel

This is the version that was installed:
ii  linux-image-generic          2.6.27.7.11                  Generic Linux kernel image

me@desktop:~$ uname -a
Linux desktop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux

me@desktop:~$ cp -r private/ Private/
cp: cannot create regular file `Private/private/archive/muttstuff/mutt-plugin/mutt_menu.h': Cannot allocate memory
...

Here is the output from dmesg:
[  944.144646] write_tag_3_packet: Error generating scatterlist for crypt_stat session key; expected rc = 1; got rc = [-12]. key_rec->enc_key_size = [16]
[  944.144661] ecryptfs_generate_key_packet_set: Error writing tag 3 packet
[  944.144666] ecryptfs_write_headers_virt: Error generating key packet set; rc = [-12]
[  944.144669] ecryptfs_write_metadata: Error whilst writing headers; rc = [-12]
[  944.144675] Error writing headers; rc = [-12]

-- 
Error when copying directory tree with Nautilus to ~/Private using ecryptfs
https://bugs.launchpad.net/bugs/292429
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in eCryptfs - Enterprise Cryptographic Filesystem: Triaged
Status in “ecryptfs-utils” source package in Ubuntu: Invalid
Status in “linux” source package in Ubuntu: Triaged
Status in ecryptfs-utils in Ubuntu Intrepid: Invalid
Status in linux in Ubuntu Intrepid: Fix Committed

Bug description:
Binary package hint: ecryptfs-utils

I set up ecryptfs following the instructions in the community documentation:

$ sudo apt-get install ecryptfs-utils
$ ecryptfs-setup-private

Logged out and logged back in.  I see the "Private" drive icon on the desktop.

If I copy single files into the Private drive in Nautilus, it seems to work.  However, if I select a directory tree to copy in Nautilus by hilighting a directory, pressing control-C and then clicking on Private and pressing control-V to paste, I get an error message for every file in the directory tree that I was trying to copy:

Error while copying "guide.pdf".

There was an error copying the file into /home/me/Private/foo/benefits.

Show more details:
Error opening file '/home/me/Private/foo/benefits/guide.pdf': Cannot allocate memory



References