Answer the question
In order to leave comments, you need to log in
Centos 7 setting write permissions?
I installed centos 7, created a user, configured hosts, installed yii2 via composer. But when I try to launch the site, it says The directory is not writable by the Web process: /home/dauren10/www/mysite.ru/web/assets. The rights to directories and files belong to dauren10. In /etc/php-fpm.d/www.conf user=dauren10 group=dauren10. The site is located in the /home/dauren10/www/mysite folder.
What am I doing wrong?
Answer the question
In order to leave comments, you need to log in
once the system writes wrong rights - so it is.
probably overwritten the directory with root,
check the rights to this directory with the
getfacl /home/dauren10/www/mysite.ru/web/assets command,
if anything, fix:
rights - chmod 775 /home/dauren10/www/mysite.ru/web/assets
owner - chown dauren10 /home/dauren10/www/mysite.ru/web/assets
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question