VFS.scan_tree uses listdir2, for performance, and that does lstat
for each file. If the lstat fails, listdir2 fails, and scan_tree
pretends the entire directory is empty. That's a problem: it should
skip only the items for which lstat failed.
FUSE can cause the lstat to fail.
Thanks, weasel, for spotting the problem and trying things until we found the reason why his home directory was getting ignored.
--liw
done in current bzr