[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to write in Tomcat webapps directory?



Paolo D. wrote:
Good evening everybody,
I need I can write in Tomcat "webapps" folder, but default SELinux Context var_lib_t doesn't allow it.
What's the best way to accomplish my need, before fatal "setenforce 0"?
To change SELinux Context to "User data" or "Temporary data"?
I see no boolean in SELinux policy through which I can allow writing in this directory, or selectively disable MAC for Tomcat.... Paolo
------------------------------------------------------------------------

--
fedora-selinux-list mailing list
fedora-selinux-list redhat com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
If you want apache/tomcat to be able to write to a directory, you can set the context to httpd_sys_content_t.

If this is a standard directory, we should set it up with default policy.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]