problem with selinux-policy-targeted FC3

Peter Magnusson iocc at
Tue Jun 21 03:42:17 UTC 2005

On Sat, 18 Jun 2005, Bob Kashani wrote:

> Hrmm...all my www dirs are labeled either as:
> system_u:object_r:httpd_sys_content_t
> or
> user_u:object_r:httpd_user_content_t
> To change the selinux context you can use "chcon":
> chcon -R system_u:object_r:httpd_sys_content_t www

chcon -R system_u:object_r:httpd_sys_content_t /www
chcon -R system_u:object_r:httpd_log_t /var/log/httpd-inget_alls

and then setsebool -P httpd_disable_trans 0 to turn on selinux for apache.
Now it works. Thanks.

More information about the fedora-selinux-list mailing list