Re: CGI on user directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yuichi Nakamura wrote:

On FC4 test2 with targeted policy(selinux-policy-targeted-1.23.14-2),
I tried to run CGI on user home directory.

After checked it run on permissive mode, chcon like following.
chcon -R system_u:object_r:httpd_sys_script_exec_t ~/public_html/cgi-bin/


I found it does not work on enforcing mode.
After I add "allow httpd_suexec_t user_home_t:dir { read };"
it worked. Please add it to apache.te



What is the context of ~/public_html ?

---
Yuichi Nakamura

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list




--


-- fedora-selinux-list mailing list fedora-selinux-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux