is at rambler-co.ru
Thu Sep 14 18:33:06 MSD 2006
On Thu, 14 Sep 2006, Francois Simond wrote:
> Igor Sysoev a ?crit :
>> Changes with nginx 0.4.1 14 Sep
> Hello to the list, this is my first post here !
> I have a problem with files not owned by the running nginx process uid :
> With the default setup that comes with make install :
> http://localhost/ gives a 500 error:
> in the log file:
> 2006/09/14 16:18:11 [crit] 8958#0: *4 open() "/usr/local/nginx/html/50x.html"
> failed (1: Operation not permitted), client: 127.0.0.1, server: localhost,
> URL: "/index.html", host: "localhost"
> If i chown nobody: -R html/ , 200 OK it works.
What does "ls -l html/" show ?
You can override the use or/and group in nginx.conf:
user USER GROUP;
More information about the nginx