On 7.1.2012, at 0.10, David Egbert wrote: >> Anyway, readdir() is failing with ELOOP. Does it always fail with "Too many >> levels of symbolic links" or is it sometimes different? This sounds like a >> bug in Linux NFS client code. You can reproduce this always with this one >> user's Maildir? Can you do "ls" in the directory? >> > Sorry about the X's... it is a client directory. We support many domains > and their privacy is paramount. You are correct it is in the /cur > directory. I can LS all of directories without problems. This user has > 10+Gb in his mail box spread across 352 subscribed folders. As for the logs > it is always the directory, always the same error.
Try the attached test program. Run it as: ./readdir /path/to/Maildir/cur Does it also give non-zero error?
readdir.c
Description: Binary data