grant permissions recursively to folders on creations or chmod method fails #95

Open
opened 2014-12-04 01:18:40 -08:00 by lastboy · 1 comment
lastboy commented 2014-12-04 01:18:40 -08:00 (Migrated from github.com)

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..
mandarinx commented 2015-03-19 01:47:34 -07:00 (Migrated from github.com)

Same here. I use wrench.mkdirSyncRecursive(dir, 0777); and the permissions are not correct.

Same here. I use `wrench.mkdirSyncRecursive(dir, 0777);` and the permissions are not correct.
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/wrench-js#95
No description provided.