Upload module can not upload file (Permission denied)
Yanxin Z.
lists at ruby-forum.com
Tue Mar 29 00:08:48 MSD 2011
Hi,
I am trying to use upload moduel to upload file.
I am following the instructions:
http://www.grid.net.ru/nginx/upload.en.html
However, I encountered "503 Service Temporarily Unavailable".
When I looked at error.log, I have following messages:
47 2011/03/28 12:59:52 [notice] 16529#0: nginx/0.8.54
48 2011/03/28 12:59:52 [notice] 16529#0: built by gcc 4.1.2 20080704
(Red Hat 4.1.2-48)
49 2011/03/28 12:59:52 [notice] 16529#0: OS: Linux 2.6.18-194.32.1.el5
50 2011/03/28 12:59:52 [notice] 16529#0: getrlimit(RLIMIT_NOFILE):
1024:1024
51 2011/03/28 12:59:52 [notice] 16530#0: start worker processes
52 2011/03/28 12:59:52 [notice] 16530#0: start worker process 16531
53 2011/03/28 13:00:01 [error] 16531#0: *1 failed to create output file
"/home/virus/tmp/0000000001" for "index. html" (13: Permission
denied), client: 127.0.0.1, server: , request: "POST /upload HTTP/1.1",
host: "127.0.0. 1", referrer: "http://127.0.0.1/"
Even I use root to run the nginx, I still have the problem. I can
"touch" the file in /home/virus/tmp directory.
Could anyone help me to figure out the issue?
Thanks
Yanxin
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list