Valery Khamenya wrote:
Dear Daniel and all,
I am trying to enable upload for all my virtual hosts placed in /var/www .
The goal is to allow users upload their content via ftp/sftp/scp .
First I tried vsftpd as a basis for upload, but got problem: httpd_sys_content_t is needed by apache and user_home_t is needed by chrooted vsftpd access. Togeter httpd_sys_content_t and user_home_t probably might be combined by editing SELinux targeted polices, but i'd better deny to do it myself.
Then I tried scp. The similar problem appeared.
Q: What is the Right Way to organize upload of web content to the virtual hosts with enabled SELinux?
here I imply that ideology of FC4 and SELinux targeted policy should probably allow private user to host few virtual hosts with upload function, but without diving in jungle of policy develoment :-)
Any good links and hints are highly appreciated!
P.S. Please Cc to me, and sorry if missed something in maillist.
Valery A.Khamenya
-- fedora-selinux-list mailing list fedora-selinux-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Try public_content_rw_t?