[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2015-02-19 Thread whoop
Just found out this also broken when moving files This bug has data
loss written all over it... Why is this being ignored? This should be
critical yesterday...

** Summary changed:

- nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes
+ Cutting or copying files on btrfs to ecryptfs results in data loss

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2015-02-18 Thread whoop
So there is no possible way or workaround to write to a ecyptfs folder
without changing/damaging the file when running btrfs?

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2015-02-18 Thread whoop
** Changed in: ecryptfs
   Status: New => Confirmed

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2015-02-04 Thread Rocko
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1305335

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2014-12-22 Thread Hannu Teulahti
Noticed this same problem.

When copying large files on btrfs nautilus seems to do "cp --reflink".
When I copy a file from btrfs to same btrfs with ecryptfs-layer; the
file seems to get corrupted. However when I do "file
ECRYPTFS_FNEK_ENCRYPTED*" to the copied bare file under the ecryptfs-
layer I can see the original contents.

So nautilus copies the file as plain with cp --reflink when instead it
should do a proper full copy.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2014-08-04 Thread djmaze
Same problem here. Using an ecryptfs folder on a btrfs filesystem.
Running on Arch Linux though.

When copying files using nautilus or nemo into the ecryptfs folder, they
often seem to get truncated to 0 bytes length. This does not happen when
using "cp" from the terminal.

I get the following error when trying to read such a file:

Valid eCryptfs headers not found in file header region or xattr
region, inode x

I have to delete the file in order to get rid of the error message, just
as described at http://blog.stephenn.com/2012/04/problem-with-corrupt-
files-and-ecrypt.html.

Unmounting and remounting the encrypted filesystem makes broken files
show with the correct filesize again. But opening them gives an I/O read
error then. So I have to delete them finally.


Kernel 3.15.8-1-ARCH (x86_64)
ecryptfs-utils 103-2

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2014-07-17 Thread lunomad
I have continued to use the private directory so far without hitch.
Using nautilus and other programs, it seems as long as I create a file
in the Private directory and don't move or copy it, i'm fine.  I have my
.thunderbird directory inside Private and everything seems to work just
fine. I've only had this issue on copying or moving using nautilus.

Damon

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2014-07-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nautilus (Ubuntu)
   Status: New => Confirmed

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2014-07-16 Thread Josh Hill
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.

** Also affects: ecryptfs
   Importance: Undecided
   Status: New

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1305335] Re: nautilus fails to copy to ecryptfs Private folder on btrfs - all files 0 bytes

2014-04-22 Thread lunomad
I can see that this bug still exists in the final release 14.04.

To replicate this bug, 
1.set up an SSD with BTRFS for root and home (all default settings).
2. Install 14.04. 
3. Use ecryptfs-setup-private to install the Private subdirectory. 
4. Create a text file on the desktop (or any directory outside Private) with 
any text inside.
5. Use nautilus to copy the file (either ctrl-c, ctrl-v, or right-click menus) 
to the private directory.
6. File will show as copied, but will contain no text (0 bytes).

I just checked and this problem also occurs if the file is cut/pasted,
meaning that anyone who tries to cut/paste files into the Private
directory will lose that data.  I think that's a somewhat serious issue.
Ouch.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs