Permission Denied Error

Maxim Dounin mdounin at mdounin.ru
Fri Apr 20 13:06:23 UTC 2012


Hello!

On Fri, Apr 20, 2012 at 05:27:40PM +0530, Sparsh Gupta wrote:

> I am seeing some error like below in my nginx error log:
> 
> 2012/04/20 11:51:52 [crit] 21437#0: *2548 open()
> "/var/cache/nginx/fastcgi_temp/5/00/0000000005" failed (13: Permission
> denied) while reading upstream, client: 139.112.144.210, server: example.com,
> request: "GET /index.php HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000",
> host: "example.com", referrer: "http://example.com/"
> 
> I have: user                    www-data; in my nginx.conf and
> the owners of the  /var/cache/nginx/fastcgi_temp/5/00 are 'nginx:nginx'
> 
> How can I fix this?

With chown(1), see "man chown" for details.

Maxim Dounin



More information about the nginx mailing list