Skip to content

[Errno 13] Permission denied #18

Closed
joshgillies opened this Issue Mar 17, 2012 · 8 comments

6 participants

@joshgillies

Under Linux after installing JSHint the following error was being thrown [Errno 13] Permission denied.

In order to resolve this I had to $ chmod +x hint from the following dir ${packages}/JSHint/node_modules/jshint/bin/ would it be an option to ship the ${packages}/JSHint/node_modules/jshint/bin/hint file with the appropriate permissions applied?

@uipoet
Owner
uipoet commented Mar 19, 2012

I believe that adding ${packages}/JSHint/node_modules/jshint/bin to the build path should correct this. Pushing a fix closing this issue in a moment.

@uipoet uipoet pushed a commit that closed this issue Mar 19, 2012
Jamie Hoover ⚔ Adds Path to hint
Adds ${packages}/JSHint/node_modules/jshint/bin to the path for linux for permission issues.

Closes #18.
d6f3537
@uipoet uipoet closed this in d6f3537 Mar 19, 2012
@charleshimmer

I just had the same problem. joshgillies's fix above worked. I see you applied a fix two days ago, not sure if the fix worked.

@uipoet uipoet reopened this Mar 23, 2012
@uipoet
Owner
uipoet commented Mar 23, 2012

The permissions are correct before I commit, so I may have to abandon locally including node-jshint and go back to requiring you guys to do it yourself.

@joshgillies

Can anyone confirm whether the issue with permissions is still present both when installing via package control and by a git clone into the sublime plugins directory?

@npostulart

Got the same problem on my MacBook but the fix worked for me too. I installed the Package via Package Control.

@uipoet
Owner
uipoet commented Mar 25, 2012

Ok, I'm convinced. Will be ripping out the inlined node-jshint. Folks will have to have node-jshint installed globally, but that shouldn't be a problem.

@fguillen
fguillen commented Apr 3, 2012

Just installed everything and I have the [Errno 13] Permission denied problem.

OS: OSX Lion

@vbabiy
vbabiy commented Apr 5, 2012

Same issue for me.

@uipoet uipoet pushed a commit that closed this issue Apr 7, 2012
Jamie Hoover ⚔ Global node-jshint
Removes local node_module to once again rely on the globally installed version of jshint via npm. There are too many issues with permissions when using a local version.

Closes #18 and #19.
1082d97
@uipoet uipoet closed this in 1082d97 Apr 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.