ubuntu - Permissions and groups for Node.js -



ubuntu - Permissions and groups for Node.js -

i'm looking best way set node.js apps within ubuntu. have set /var/node/ store various node apps /var/www/ would.

what trying achieve, seem failing:

nodeadmins (group) has read , write access /var/node/.

nodeuser (user) has read access /var/node/.

nodeuser beingness user business relationship node apps run under.

this way, ftp users can alter of files within /var/node/ whilst node apps when they're run nodeuser have access files.

my questions:

1) right / safe way?

2) how can allow more 1 grouping have different permissions on folder? have used chown set nodeuser owner of group. don't believe right way.

node.js ubuntu permissions directory groups

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -