isaacs/npm — Issue #1984: failure to 'npm link'
Author: chrisdew
Created: 2012-01-04 14:41:13+00:00
State: open

Permissions look OK:

chris@box:~/protobuf$ ls -lA /home/chris | grep protobuf
drwxr-xr-x 5 chris chris 4096 2012-01-04 14:35 protobuf

Just posting the log, as it requested.

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'link' ]
info using npm@1.0.106
info using node@v0.4.12
verbose config file /home/chris/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose has wscript [ undefined,
verbose has wscript { dev: true,
verbose has wscript file: '/home/chris/protobuf/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
silly testEngine { name: 'protobuf',
silly testEngine version: '0.3.0',
silly testEngine description: 'Protocol Buffers for NodeJS',
silly testEngine author: '',
silly testEngine main: './build/default/protobuf_for_node',
silly testEngine repository:
silly testEngine { type: 'git',
silly testEngine url: 'git://github.com/chrisdew/protobuf.git' },
silly testEngine scripts:
silly testEngine { preinstall: 'PROTOBUF=/usr/lib node-waf configure',
silly testEngine install: 'node-waf clean build' },
silly testEngine _id: 'protobuf@0.3.0',
silly testEngine dependencies: {},
silly testEngine devDependencies: {},
silly testEngine engines: { node: '*' },
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.106',
silly testEngine _nodeVersion: 'v0.4.12',
silly testEngine _defaultsLoaded: true }
verbose caching /home/chris/protobuf/package.json
verbose loadDefaults protobuf@0.3.0
ERR! Error: EACCES, Permission denied '/home/chris/protobuf'
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Linux 3.0.0-12-generic
ERR! command "node" "/usr/local/bin/npm" "link"
ERR! cwd /home/chris/protobuf
ERR! node -v v0.4.12
ERR! npm -v 1.0.106
ERR! path /home/chris/protobuf
ERR! code EACCES
verbose exit [ 1, true ]