mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-26 01:25:55 +03:00
[GH-ISSUE #42] Why is root required for install? #33
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @taxilian on GitHub (Oct 8, 2012).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/42
I have no particular need to create a special user for this to run as; it'd be just fine to run it as my current user. Why is this so hardcoded to require root?
I understand having an install script to set it up in the traditional setup, but it seems a little odd that I cant' just install it as a normal user without all that extra stuff. nothing requiring creating a new user or root access should ever be required to run something like this.
@cyberb commented on GitHub (Oct 24, 2012):
had to fix log.io-harvester / log.io-server startup scripts to use relative paths for configs and to run as current user.
I would like to have non-root support out of the box.
@jochenonline commented on GitHub (Feb 21, 2013):
I have just installed log.io under my "normal" user and it works like charm.
Without the extra
coffe-scriptinstallation mylog.ioinstallation missedcake.The only thing you have to do now is to start the server/harvester "by hand":
That's it!
You can find the config files in
~/.log.io@msmathers commented on GitHub (Feb 21, 2013):
@jochenonline is right, v0.3.0 now installs entirely in user space. You'll still need root to do a global install (npm install -g log.io), but it's not required.
Also, be sure to tell npm to use a specific user, otherwise it will fail out when trying to create your ~/.log.io directory for configuration:
npm install -g log.io --user "ubuntu"
or
npm set "user" "ubuntu"
npm install -g log.io