{"action":"created","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/1585","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/1585/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/1585/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/1585/events","html_url":"https://github.com/mochajs/mocha/issues/1585","id":60254016,"number":1585,"title":"Coverage script failing","user":{"login":"am11","id":3840695,"avatar_url":"https://avatars.githubusercontent.com/u/3840695?v=3","gravatar_id":"","url":"https://api.github.com/users/am11","html_url":"https://github.com/am11","followers_url":"https://api.github.com/users/am11/followers","following_url":"https://api.github.com/users/am11/following{/other_user}","gists_url":"https://api.github.com/users/am11/gists{/gist_id}","starred_url":"https://api.github.com/users/am11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/am11/subscriptions","organizations_url":"https://api.github.com/users/am11/orgs","repos_url":"https://api.github.com/users/am11/repos","events_url":"https://api.github.com/users/am11/events{/privacy}","received_events_url":"https://api.github.com/users/am11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-08T12:14:55Z","updated_at":"2015-03-09T04:19:28Z","closed_at":null,"body":"Redirected from: https://github.com/travis-ci/travis-ci/issues/3347\r\n\r\nHi, we have a [coverage script](https://github.com/sass/node-sass/blob/beffe92723c2a1848eef248b27c79dac2bcf6446/scripts/coverage.js) in node-sass for TravisCI. It was last updated on Nov 4 2014. It was reporting coverage [to covealls](https://coveralls.io/r/sass/node-sass) till yesterday when I bumped mocha version https://github.com/sass/node-sass/commit/c9ed9300640cf746fb99204c10fc3aa8046bee6b. Now we get permission denied on TravisCI: https://travis-ci.org/sass/node-sass/jobs/53495198#L1320 on running the coverage script (after passing all tests with mocha).\r\n\r\n>\\> node-sass@2.0.1 coverage /home/travis/build/sass/node-sass\r\n node scripts/coverage.js\r\n>\r\n/home/travis/build/sass/node-sass/node_modules/.bin/_mocha: 1: /home/travis/build/sass/node-sass/node_modules/.bin/_mocha: /bin: Permission denied\r\n\r\nIf I downgrade mocha to 2.1.0, the result is: https://travis-ci.org/am11/node-sass/jobs/53533514#L1310:\r\n\r\n> $ npm run-script coverage\r\n> node-sass@2.0.1 coverage /home/travis/build/am11/node-sass\r\n> node scripts/coverage.js\r\n>\r\nDone. Your build exited with 0\r\n\r\nIs it related to https://github.com/mochajs/mocha/pull/1567?"},"comment":{"url":"https://api.github.com/repos/mochajs/mocha/issues/comments/77798247","html_url":"https://github.com/mochajs/mocha/issues/1585#issuecomment-77798247","issue_url":"https://api.github.com/repos/mochajs/mocha/issues/1585","id":77798247,"user":{"login":"danielstjules","id":817212,"avatar_url":"https://avatars.githubusercontent.com/u/817212?v=3","gravatar_id":"","url":"https://api.github.com/users/danielstjules","html_url":"https://github.com/danielstjules","followers_url":"https://api.github.com/users/danielstjules/followers","following_url":"https://api.github.com/users/danielstjules/following{/other_user}","gists_url":"https://api.github.com/users/danielstjules/gists{/gist_id}","starred_url":"https://api.github.com/users/danielstjules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielstjules/subscriptions","organizations_url":"https://api.github.com/users/danielstjules/orgs","repos_url":"https://api.github.com/users/danielstjules/repos","events_url":"https://api.github.com/users/danielstjules/events{/privacy}","received_events_url":"https://api.github.com/users/danielstjules/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T04:19:28Z","updated_at":"2015-03-09T04:19:28Z","body":"I think you might be right! Because the permissions are certainly correct:\r\n```\r\n$ ls -al . ../mocha/bin\r\n.:\r\ntotal 16\r\ndrwxr-xr-x  4 danielstjules  staff  136 Mar  8 21:14 .\r\ndrwxr-xr-x  4 danielstjules  staff  136 Mar  8 21:14 ..\r\nlrwxr-xr-x  1 danielstjules  staff   19 Mar  8 21:14 _mocha -> ../mocha/bin/_mocha\r\nlrwxr-xr-x  1 danielstjules  staff   18 Mar  8 21:14 mocha -> ../mocha/bin/mocha\r\n\r\n../mocha/bin:\r\ntotal 32\r\ndrwxr-xr-x   4 danielstjules  staff    136 Mar  8 21:14 .\r\ndrwxr-xr-x  12 danielstjules  staff    408 Mar  8 21:14 ..\r\n-rwxr-xr-x   1 danielstjules  staff  11947 Mar  5 22:56 _mocha\r\n-rwxr-xr-x   1 danielstjules  staff   1722 Feb 18 11:41 mocha\r\n```"}}