Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

pen() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied), client:

Your nginx worker has no permissions to write in nginx directory.
so you have two options:

1. give the nginx permisions:
  chmod -R 777 /var/lib/nginx/
  
2. change the nginx user to nginx(better option).
  go to to /etc/nginx/nginx.conf
  and change the user to nginx.
 
PREVIOUS NEXT
Tagged: #failed #Permission
ADD COMMENT
Topic
Name
5+4 =