On Thu, 2013-05-02 at 14:29 -0400, m.roth@5-cent.us wrote:
Dominick Grift wrote:
On Thu, 2013-05-02 at 13:55 -0400, m.roth@5-cent.us wrote:
We've got an /apps directory in parallel with the web page directory. I've most recently set it to httpd_sys_script_t; the directory under it has a context of default_t, and that's off of /. Have I either given a
wrong
context to the apps directory, left an incorrect one on the directory under it (and if so, what would be appropriate), or is it just that I need to semanage fcontext -a for apps?
what does : semanage fcontext -l | grep apps return?
No context for that directory. Ok, and now, after I looked at the default /var/www, I see it should be httpd_sys_script_exec_t, and I've semanage/restorecon'd it to that.
Thanks. Hope that fixes it.
No /var/www should not be httpd_sys_script_exec_t
anyways, so you dont have a context specified for /apps at all
mark