nginx-0.4.1

Francois Simond curio at free.fr
Thu Sep 14 18:48:58 MSD 2006


Aleksandar Lazic a écrit :
> Hi,
>
> On Don 14.09.2006 16:27, Francois Simond wrote:
>
>> 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.
>
> This is the default user.
>
> There are to possibilities to change this behaviour:
>
> 1.) add --user= to your configure call
> 2.) change the 'user'-line in nginx.conf to the owner of the files
>
> I think that root isn't good ;-)
Hello Aleksandar :)
by default, nginx retrogrades privileges of the worker process to the 
"nobody" user.

-- 
Francois Simond
freelance web developer and consultant






More information about the nginx mailing list