I tried to grant permissions on folders creation and it don't really do the job right. I saw couple of open issues about that, it would be appreciated if you will solve that since I ended creating my own utility.
FYI, looping over path array and using fs.chmodSync(path, 0777) is working. I looked at your code and something is not working on that recursion... you might want to drop the try catch and use standard loop..
I tried to grant permissions on folders creation and it don't really do the job right. I saw couple of open issues about that, it would be appreciated if you will solve that since I ended creating my own utility.
FYI, looping over path array and using fs.chmodSync(path, 0777) is working. I looked at your code and something is not working on that recursion... you might want to drop the try catch and use standard loop..