H
H
hckn2019-01-15 15:08:58
Node.js
hckn, 2019-01-15 15:08:58

How to allow Node to create a directory without sudo?

It is necessary to allow the script on the Node to create a directory in /var/www
It turned out to be allowed only by adding 777what looks wrong.
How to do it right?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
index0h, 2019-01-15
@index0h

Change the rights to the directory, and read https://habr.com/en/post/436132/

B
Boris Korobkov, 2019-01-15
@BorisKorobkov

chgrp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question