nginx cache opendir failed

Ronald Van Assche rva at onvaoo.com
Mon May 20 09:10:52 UTC 2013


SOLVED:

Just chmod 7777 ( 4 seven)  /var/cache/www , the parent directory of the nginx cache and voilà, it works.

Le 19 mai 2013 à 17:51, Ronald Van Assche <rva at onvaoo.com> a écrit :

> Hi
> 
> On a Freebsd 9.1 machine
> Nginx 1.4.1
> 
> opendir() "/var/cache/www/nginx2" failed (13: Permission denied)
> 
> microcache dir  :
> drwxr-x--x  3 root  wheel  512 May 19 17:05 /var/cache
> drwxr-xr-x  3 www  www  512 May 19 17:06 /var/cache/www
> drwx------  2 www  www  512 May 19 17:06 nginx2
> 
> 
> How to correct this ?
> 
> 
> Thanks.
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list