| Summary: | [terminal] npm install fails | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Docker | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 6.0 | ||
| Target Milestone: | 6.0 M1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Anthony Hunter
Resolved by commits in Bug 430327, specifically the last three lines in: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/diff/bundles/org.eclipse.orion.server.docker/Dockerfile.base?id=276be3c8d1a732361afda9edb4ec6e47381bf511 The user account in the terminal now matches the Orion userid and the user account is in the user group, so these changes solve the issue. # allow end user npm install -g without needing root by adding group privileges RUN chgrp -R users /usr/local/ RUN chmod -R g+w /usr/local/ p.s. the best resource for the npm permission workarounds is at https://gist.github.com/isaacs/579814 |