Re: regression: ecryptfs broken on 2.6.36-rc2 (x86_64)

From: Tyler Hicks
Date: Fri Aug 27 2010 - 16:22:56 EST


On Tue Aug 24, 2010 at 07:51:03AM +0200, Roberto Oppedisano <roberto.oppedisano@xxxxxxxxx> wrote:
> I'm having the very same problem reported from another ecryptfs user.
>
> https://bugs.launchpad.net/ecryptfs/+bug/623087
>
> In short permissions seem to be broken on ecryptfs mounts, and ls
> output looks like:
>
> ls: cannot access enctest/file1: No such file or directory
> ls: cannot access enctest/sub: No such file or directory
> total 12
> 545077 -????????? ? ? ? ? ? file1
> 545075 -rw-r--r-- 1 root root 3 2010-08-24 08:53 file3-2.6.36
> 545078 d????????? ? ? ? ? ? sub
>
> Everything was fine in 2.6.35.
>

A fix for this regression should be merged by 2.6.36-rc3. Until then,
you can get the patch from:

http://git.kernel.org/?p=linux/kernel/git/ecryptfs/ecryptfs-2.6.git;a=commit;h=93c3fe40c279f002906ad14584c30671097d4394

For those interested, the bug report linked above has a description
of the problem. In general, you shouldn't use eCryptfs in 2.6.36-rc{1,2}
if you have file name encryption enabled.

Tyler

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/