Answers for "access linux error mkdir permission denied"

0

mkdir permission denied php

/*
Here's what you do in Ubuntu
1. Make sure all files are owned by the Apache group and user. In Ubuntu it is the www-data group and user
2. sudo chown -R www-data:www-data /path/to/webserver/www
3. Next enabled all members of the www-data group to read and write files
4. sudo chmod -R g+rw /path/to/webserver/www

The php mkdir() function should now work without returning errors
Posted by: Guest on November-13-2021
0

Error: EACCES: permission denied, mkdir

add sudo , example sudo npm i nodemon -g
Posted by: Guest on March-21-2021

Code answers related to "access linux error mkdir permission denied"

Browse Popular Code Answers by Language