Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Out of laziness I want to be able FTP into my WWW directory.

However, the SELinux permissions for apache(user_u:object_r:httpd_sys_content_t) to be able to use the WWW directory and for the user(system_u:object_r:user_home_dir_t ) to use the WWW directory are different.

Anyway, around this problem without disabling SELinux?


share|improve this question

2 Answers 2

Create a third file context and add it to both domains.

share|improve this answer
Actually showing how to do that would be provide a more useful answer. – user1147688 May 29 '14 at 11:00

You have to set the httpd_enable_homedirs to true. See

(assuming you're on Fedora)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.