Description of problem: I've got the following situation: Each user of my system has his/her virtual hosts in $HOME/web/<vhost> - per default, all files and directories in $HOME/web are labeled with httpd_sys_content_t. Using shell everything is okay, but when using ftpd for trying to modify the web content, permission is denied. Version-Release number of selected component (if applicable): selinux-policy-targeted-2.1.2-1 Actual results/Expected results: I added the following rules solving this for my personal use, but maybe these could be added at upstream using a selinux boolean or similar? allow ftpd_t httpd_sys_content_t:dir { create_dir_perms rw_dir_perms }; allow ftpd_t httpd_sys_content_t:file create_file_perms; allow ftpd_t httpd_sys_content_t:lnk_file create_lnk_perms;
Could you change the file types to public_content_rw_t Than set the boolean setsebool -P allow_ftpd_anon_write=1 Should get you what you want. man ftpd_selinux man httpd_selinux for more info