Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I submit a long post from within wordpress, I get the following error:

2013/06/04 03:04:19 [crit] 12248#0: *491 open() "/var/lib/nginx/tmp/client_body/0000000008" failed (13: Permission denied)

It works fine if the post isn't that long, but submitting a long one throws a 500 error on the front end, and this in my error log file :/

I tried googling and nothing is much help, other than to change the user or something

Right now I already have...

/var/lib/nginx/tmp/client_body owned by www:www (nginx) and set to 700 permissions

share|improve this question
Set it to 770.. – Nathan C Jun 4 '13 at 11:23
that wasn't it. the problem was the parent directories however needed to be set to www:www (same permissions, 0700) – Tallboy Jun 4 '13 at 17:47
That would also do it. – Nathan C Jun 4 '13 at 18:44
After upgrade these directories were set to user nginx:nginx on my system ... so set chown -R and chgrp -R them back to the original user. – edelwater Sep 25 '14 at 19:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.