Using httpd and vsftpd together

Paul Howarth paul at city-fan.org
Tue Mar 2 14:22:42 UTC 2010


On 02/03/10 11:49, Dirk H. Schulz wrote:
> Hi folks,
>
> I want my web users to use vsftpd for populating their web space.
>
> And I want SElinux to have an eye on everything there. But my problem is:
>
> For vsftpd to work I need the following context on the web directories:
> system_u:public_content_rw_t
> For httpd to work I need the following context on the web directories:
> object_r:httpd_sys_content_t
>
> How can I achieve to let SElinux both daemons work on the same web
> directory?
>
> I am not very deep into SElinux by now, so please bear with me. I have
> googled for this particular problem, but found nothing.
>
> Any hint or help or url of a howto is appreciated.

httpd should be fine with public_content_rw_t; which OS are you using 
and what problems do you get if you use public_content_rw_t?

Paul,


More information about the selinux mailing list