Welcome! Log In Create A New Profile

Advanced

Upload module can not upload file (Permission denied)

Yanxin Z.
March 28, 2011 04:10PM
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/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Upload module can not upload file (Permission denied)

Yanxin Z. March 28, 2011 04:10PM

Re: Upload module can not upload file (Permission denied)

vt March 28, 2011 04:14PM

Re: Upload module can not upload file (Permission denied)

Yanxin Z. March 28, 2011 04:26PM

Re: Upload module can not upload file (Permission denied)

vt March 28, 2011 04:28PM

Re: Upload module can not upload file (Permission denied)

vt March 28, 2011 04:42PM

Re: Upload module can not upload file (Permission denied)

Yanxin Z. March 28, 2011 04:34PM

Re: Upload module can not upload file (Permission denied)

Yanxin Z. March 28, 2011 05:46PM

Re: Upload module can not upload file (Permission denied)

Yanxin Z. March 28, 2011 08:52PM

Re: Upload module can not upload file (Permission denied)

vt March 29, 2011 03:04AM

Re: Upload module can not upload file (Permission denied)

Yanxin Z. March 29, 2011 12:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 106
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready