substack/node-mkdirp — Issue #7: set ownership
Author: isaacs
Created: 2011-11-03 22:41:53+00:00
State: open

Discussed in IRC.

1. On the first successful mkdir, grab a stat of the parent thing.
2. Whatever the owner uid/gid of that thing is, go through and chown all the created directories to have that same owner.