If a directory has read by not 'x' permission, it is silently ignored. Perhaps this should print a warning at least.