Answer the question
In order to leave comments, you need to log in
How to create a directory?
How to create directories where there are not enough user rights?
You need to create a directory in /var/www
Useshelljs
shell.mkdir('-p', directory);
mkdir: cannot create directory /var/www/example.com/uploads/images/originals
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question