Hi all,
我用openresty 实现一个web service,但是现在不知道为何报这个错误。Permission denied
首先这个文件是存在的,其次我认为也是有权限的
ytb@ytb-test-server:~/Server/conf$ ll /home/ytb/Server/src/app/app_comments.lua
-rw-rw-r-- 1 ytb ytb 2566 Nov 11 14:29 /home/ytb/Server/src/app/app_comments.lua
error.log
2012/11/11 14:38:02 [error] 15969#0: *1 failed to load Lua inlined code: cannot open /home/ytb/Server/src/app/app_comments.lua: Permission denied, client: 192.168.1.129, server: , request: "GET /api/app/app_comments?appid=29 HTTP/1.1", host: "192.168.1.129"
openresty version 1.2.3.8
非常谢谢你的帮助