Nginx truncate my data.

Spacelee fjctlzy at gmail.com
Fri Dec 3 07:42:00 MSK 2010


Sorry for duplicated posts.

the log is like this
2010/12/03 12:34:58 [crit] 27861#0: *3495 open()
"/opt/local/nginx80/proxy_temp/6/01/0000000016" failed (13: Permission
denied) while reading upstream, client: XX.XX.XX.XX, server:
api.yangfanbook.beta.sina.com.cn, request: "POST /api.php/invoice_list_get
HTTP/1.1", upstream: "http://127.0.0.1:6080/api.php/invoice_list_get", host:
"api.XX.beta.XX.com.cn"

I got it, it's the permissions of proxy_temp, when I change it to 777, it's
OK now.

but can I change the permissions to 777 ? is there any security issues?

the permissions of nginx :
drwxr-xr-x  9 root    root 4096 Dec  3 11:44 .
drwxr-xr-x  9 root    root 4096 Nov  5 17:31 ..
drwx------  2 nginx80 root 4096 Dec  2 14:53 client_body_temp
drwxr-xr-x  2 root    root 4096 Dec  3 11:59 conf
drwx------  2 nginx80 root 4096 Nov  5 17:31 fastcgi_temp
drwxr-xr-x  2 root    root 4096 Dec  3 11:49 html
drwxr-xr-x  2 root    root 4096 Dec  3 12:00 logs
drwxrwxrwx 12 nginx80 root 4096 Nov  5 17:31 proxy_temp
drwxr-xr-x  2 root    root 4096 Dec  3 11:49 sbin


and the permission of my file is httpd6080.webdev because we use apache as
the bankend.

What should I do?


2010/12/3 Nuno Magalhães <nunomagalhaes at eu.ipp.pt>

> You don't need to double-post, forum messages get sent to the list.
> The latest stable version is 0.8.53, try that first.
> Check your error log.
> Snippets of your config might be of use.
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



-- 
*Space Lee*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101203/8c238c2c/attachment.html>


More information about the nginx mailing list