fshost / node-dir

Recursive asynchronous file and directory operations for Node.js
MIT License
221 stars 44 forks source link

Permission errors occur if OSX .Trashes directory exists #11

Closed danb235 closed 9 years ago

danb235 commented 10 years ago

When using dir.files to get an array of file in a dir, and in that dir a .Trashes dir exists, I get the following:

/Users/Sam/Projects/bin/slurp.js:59
                if (err) throw err;
                               ^
Error: EACCES, readdir '/Volumes/Media/.Trashes'
danb235 commented 10 years ago

Any chance this can get some love? It is my only blocker, would love to use this project. =)

fshost commented 9 years ago

Thanks for the PR. Looking at #13 it appears that commit 204793b should have fixed this issue. If this is still an issue for some reason I'll reopen it but I believe we can close this issue now.

fshost commented 9 years ago

Actually I'll need to bump the NPM version number so I'm reopening until that has been published.