Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Is root not enough? #10

Closed
gabeio opened this issue Jun 10, 2013 · 1 comment
Closed

Is root not enough? #10

gabeio opened this issue Jun 10, 2013 · 1 comment

Comments

@gabeio
Copy link

gabeio commented Jun 10, 2013

Apparently root/admin is not enough...

[root@io 2TBALPHAU]# npm install gnu-tools
npm http GET https://registry.npmjs.org/gnu-tools
npm http 304 https://registry.npmjs.org/gnu-tools
npm WARN package.json [email protected] No README.md file found!
npm ERR! Error: EPERM, chown '/media/2TBALPHAU/node_modules/gnu-tools/package.json'
npm ERR!  { [Error: EPERM, chown '/media/2TBALPHAU/node_modules/gnu-tools/package.json']
npm ERR!   errno: 50,
npm ERR!   code: 'EPERM',
npm ERR!   path: '/media/2TBALPHAU/node_modules/gnu-tools/package.json',
npm ERR!   fstream_finish_call: 'chown',
npm ERR!   fstream_type: 'File',
npm ERR!   fstream_path: '/media/2TBALPHAU/node_modules/gnu-tools/package.json',
npm ERR!   fstream_class: 'FileWriter',
npm ERR!   fstream_stack: 
npm ERR!    [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19',
npm ERR!      '/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:222:7',
npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 2.6.32-279.22.1.el6.centos.plus.i686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "gnu-tools"
npm ERR! cwd /media/2TBALPHAU/
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path /media/2TBALPHAU/node_modules/gnu-tools/package.json
npm ERR! fstream_path /media/2TBALPHAU/node_modules/gnu-tools/package.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chown
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, chown '/media/2TBALPHAU/node_modules/gnu-tools/package.json'
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:222:7
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /media/2TBALPHAU/npm-debug.log
npm ERR! not ok code 0
[root@io 2TBALPHAU]# 

su GOD?

@gabeio
Copy link
Author

gabeio commented Jun 10, 2013

side note: centos 6

@gabeio gabeio closed this as completed Jun 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant