install does not use correct "admin" user

24 views
Skip to first unread message

Curtis Newton

unread,
Aug 9, 2016, 8:41:35 AM8/9/16
to Log.io
hello,

- log.io does not get installed with the correct user, it is installed under root

sudo npm install -g log.io --user "someadminuser" --unsafe-perm

- I had to dig the web to find "--unsafe-perm" option, otherwise I get this error

WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.3.1"

can someone enlight me on this ? on my debian boxes all roots acounts are disabled for security reasons

thanks

Curtis Newton

unread,
Aug 10, 2016, 2:55:02 AM8/10/16
to Log.io
anyone

Curtis Newton

unread,
Aug 17, 2016, 8:35:43 AM8/17/16
to Log.io
thx for the wonderfull help
Reply all
Reply to author
Forward
0 new messages