How to write in Tomcat webapps directory?
Daniel J Walsh
dwalsh at redhat.com
Wed Nov 29 18:09:59 UTC 2006
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 at 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.
More information about the fedora-selinux-list
mailing list