- If a directory exists, the mode isn't updated - ref https://github.com/substack/node-mkdirp/issues/80 - This could be solved by implementing our own mkdirp logic (in the vein of implementing our own `writeFile`) - On OSX, the `fs.mkdir` call doesn't seem to set sticky, sgid or suid bits but `fs.chmod` does - ref https://github.com/gulpjs/vinyl-fs/blob/master/test/dest-modes.js#L339-L340 - This would be solved by solving the first one because it would use chmod after the mkdir
writeFile)fs.mkdircall doesn't seem to set sticky, sgid or suid bits butfs.chmoddoes - ref https://github.com/gulpjs/vinyl-fs/blob/master/test/dest-modes.js#L339-L340