The errno for "Is a directory" means that you are trying to do mangle a directory in some way that would be otherwise acceptable were it a regular file. This includes trying to link(2) to a directory, unlink(2) it, write(2) to it, etc. To put things in perspective, in Ye Olde Unix days, directories were in fact linked and written to.

Log in or registerto write something here or to contact authors.