Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.