Re: nginx cache opendir failed

2013-05-20 Thread Ronald Van Assche
the Web server is run by "www" , and owns the parent directory of the cache. Le 20 mai 2013 à 11:19, Stev e Holdoway a écrit : > So, you need to ensure all files can only be deleted by the owner, all files > created in the directory are in the same group as the directory and, to the > best of

Re: nginx cache opendir failed

2013-05-20 Thread Stev e Holdoway
So, you need to ensure all files can only be deleted by the owner, all files created in the directory are in the same group as the directory and, to the best of my knowledge, setuid is meaningless. Ah, I see that it's a freebsd machine... setgid is the default functionality on that OS. This

Re: nginx cache opendir failed

2013-05-20 Thread Ronald Van Assche
SOLVED: Just chmod ( 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 a écrit : > Hi > > On a Freebsd 9.1 machine > Nginx 1.4.1 > > opendir() "/var/cache/www/nginx2" failed (13: Permission denied) > > micr

nginx cache opendir failed

2013-05-19 Thread Ronald Van Assche
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 corre