purescript-node / purescript-node-fs

Node.js file I/O for purescript
MIT License
33 stars 34 forks source link

`mkdir` uses mode 1411, not 777 #14

Closed hdgarrood closed 9 years ago

hdgarrood commented 9 years ago

Because mkdir uses a file mode of 777 decimal (as opposed to 777 octal), it will create directories that the owner is not allowed to write into (amongst other things). The created directory actually ends up having permissions 1411, since 777 in decimal is 1411 in octal.

I think the fix should be simply to get #11 merged. Is there anything I can do to help with this?

michaelficarra commented 9 years ago

It looks like that PR is ready to go. A maintainer should just merge it.

hdgarrood commented 9 years ago

Awesome, thanks. Done.