ls doesn't work well with ecryptfs on top of codafs

Bug #1196665 reported by Gumowe Masło
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eCryptfs
New
Undecided
Unassigned

Bug Description

I set up a private ecryptfs directory, then moved .Private to codafs volume. I can mount it and access files on it. However it seems, that it's impossible to get directory listing in any form. Doing ls in Private gives:
/bin/ls: cannot open directory .: Input/output error

strace shows that failing syscall is:
openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EIO

syslog shows:
kernel: Error opening lower file for lowe_dentry [0xffff8800058a1540] and lower_mnt [0xffff880033530920]; rc = [-5]
kernel: ecryptfs_open: Error attempting to initialize the lower file for the dentry with name [/]; rc = [-5]

Revision history for this message
Gumowe Masło (gumowemaslo) wrote :

tested on Linux kernel 3.7.5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.