substack/node-mkdirp — pull request #18 by coolaj86 (2012-05-28 09:50:02+00:00)
Title: Was getting `ERROR: EPERM, mkdir 'C:\'` on Windows

Was getting `ERROR: EPERM, mkdir 'C:\'` on Windows with node-tar on windows (which uses fstream which uses mkdirp). Checking for EPERM and allowing it to pass on to EEXIST solved it.