Answer the question
In order to leave comments, you need to log in
Why can't I create a folder even though I'm in a group?
Good day!
I set up the server (Debian 9), created a folder /var/www/
, assigned the owner along with the group www-data
Problem:
/var/www/$mkdir anotherdir
mkdir: cannot create directory ‘anotherdir’: Permission denied
/var/www$ls -l
drwxrw-r-x 4 www-data www-data 4096 Jun 20 14:39 somedir
/var$ls -l
...
drwxrwxr-x 3 www-data www-data 4096 Jun 20 14:39 www
/var/www$groups username
username : username sudo www-data
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