stat() permission denied

mike mike503 at
Sat Apr 26 19:09:31 MSD 2008

I get a stat() permission denied on certain directories (it used to be
another one, now it is this one) often. The directory exists, is not
huge by any means, and the website loaded without an issue.

2008/04/26 08:05:59 [crit] 9529#0: *3254134 stat()
"/home/mike/web/" failed (13: Permission denied),
client:, server:, request: "GET /
HTTP/1.0", host: ""

What could cause this? How can I fix it? It is mounted over NFS... it
has the same permissions as all the other directories. I would expect
all of them to throw the same error then., It's almost like it picks a
specific inode to hate or something.

[root at web02 nginx]# stat /home/mike/web/
  File: `/home/mike/web/'
  Size: 512             Blocks: 4          IO Block: 32768  directory
Device: 15h/21d Inode: 8997591     Links: 15
Access: (0711/drwx--x--x)  Uid: ( 1000/    mike)   Gid: ( 1000/    mike)
Access: 2008-04-26 01:01:05.000000000 -0700
Modify: 2008-03-04 02:17:22.000000000 -0800
Change: 2008-04-23 19:27:16.000000000 -0700
[root at web02 nginx]#

More information about the nginx mailing list