Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users inconsistance when run nodejs script #13721

Closed
mmorhun opened this issue Feb 11, 2019 · 1 comment
Closed

Users inconsistance when run nodejs script #13721

mmorhun opened this issue Feb 11, 2019 · 1 comment
Assignees
Labels
area/editor/theia Issues related to the che-theia IDE of Che

Comments

@mmorhun
Copy link
Contributor

mmorhun commented Feb 11, 2019

The problem is that nodejs processes are run under user node in dev container, whereas user in terminal is different. It cause permission denied problems.
For example, a new directory created from terminal in Theia has owner, say, user and permissions drwxr-xr-x. So when a nodejs process is running even from the same shell, and nodejs script tries to write something in that dir - it will fail with permission denied.

For example, because of described above problem yo generator fails to run (just type yo in terminal). But it is not only about yo...

Faced at least on minikube with Che multiuser.

@benoitf benoitf transferred this issue from eclipse-che/che-theia Jul 5, 2019
@benoitf benoitf added the area/editor/theia Issues related to the che-theia IDE of Che label Jul 5, 2019
@mmorhun
Copy link
Contributor Author

mmorhun commented Nov 20, 2019

The issue is not reproducible with our current images.

@mmorhun mmorhun closed this as completed Nov 20, 2019
@mmorhun mmorhun self-assigned this Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che
Projects
None yet
Development

No branches or pull requests

2 participants