N
N
nepster-web2014-01-28 01:54:22
CentOS
nepster-web, 2014-01-28 01:54:22

There are 2 users: root and test. How to overcome the problem with rights?

The situation is this, there are 2 users: root and test
You need to run the node.js script. From both users it starts and everything is fine.
If you run from the root user - everything is generally fine. But if there are problems with test, for example, when creating a file, it throws an exception and an error, as if there are no rights.
I installed CHMOD 777 (from the root user) on the folder where the scripts are located, this did not solve the problem. Tell me what else needs to be done?
OS: centOS

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vit, 2014-01-28
@fornit1917

If CentOS, then it is possible that the reason lies in SELinux. Try disabling it altogether first and see if the problem persists. If it disappeared, that's it. You can either not turn it on at all, or set it up so that it does not interfere.

Y
Yuriy Andamasov, 2014-01-28
@syncer

maybe selinux interferes?
in addition, tell me what the whole path to the directory looks like

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question