node-file-utils icon indicating copy to clipboard operation
node-file-utils copied to clipboard

added handling for directories with no permission

Open go-ive opened this issue 10 years ago • 0 comments

Hi, I ran into this bug when walking the /etc directory with a non-root user. In this pull request I provide the fix and a test for it. For the test to work, you need the 'test_resource/nopermdir' directory in the base path. The nopermdir directory must be inaccessible (chmod -rwx). I committed it in my fork, but it seems like it won't be merged automatically. Also some JSLint housekeeping for good measure :)

go-ive avatar May 10 '15 12:05 go-ive