The unix file probe always adds a filepath item entity, even if the match refers to a directory. This is incorrect because the filepath entity of file items may only refer to non-directory files. This same bug may occur in other probes which use file/path/filepath entities, so they should be checked as well.
Fixed in [r1801]. Although this probe currently treats symlink-to-directory search results found via search behaviors as symlinks instead of directories. It's probably counterintuitive, but I'm not sure if it's technically wrong...
Related
Commit: [r1801]