Your trying to do something to a directory that doesn't make sense. For example, opening it for reading like a normal file.
"But then it fails to chdir("/") with the error message "Is a directory" (EISDIR), which proves that complex computer systems like the Hurd not only develop artificial intelligence, but also some strange kind of humor." -- Marcus