开发者

What are the permissions I need?

My folder at:

/usr/local/www/.ext_env_vars

has a bunch of files in it that my app needs to read. The user is 'webapp'

So, I changed the perms like so:

chmod -R 400 .ext_env_vars
chown -R webapp.webapp .ext_env_vars

The application can't read these. However, when I chmod 777, they a开发者_开发百科re read by the app. So, it isn't that I have a path problem. Seems to be permissions only.

So, what would I have to do to the permissions to make webapp be able to read those files in the .ext_env_vars folder?

Thanks Eric


A directory needs to be "executable" to access it. Try:

chmod 500 .ext_env_vars
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜