I use nginx 1.4.4 and I created a chrooted user. This user can only see his /home/user folder, and I created in a "www" folder.
I put in my virtual host file :
root /home/user/www;
But I have an error :
*1 stat() "/home/crm/www/" failed (13: Permission denied)
I try to put chmod 777 on home, home/user, home/user/www, but I got the error.
I took a look on this question : nginx + PHP-FPM = "permission denied" error 13 in nginx log; configuration mistake?, but I can't change owner the www folder.
How can I correct this ? Thanks.