Skip to contentSkip to conversation

regression: ecryptfs broken on 2.6.36-rc2 (x86_64)

DISCUSSION Roberto Oppedisano 2 participants 2 messages Aug 24, 2010 – Aug 27, 2010

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 7 lines · Roberto Oppedisano

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:

Quoted 9 lines

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