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

invalid context: httpd_sys_content_rw_t



I'm trying to let httpd write to a subdirectory of ~/public_html and I'm
running into SELinux errors on Fedora 10.  The error message directs me
to "man httpd_selinux", which describes several context types.  Of
these, httpd_sys_content_rw_t sounds like what I want; however, chcon
doesn't seem to know about it:

        $ chcon -R httpd_sys_content_rw_t mydir
        chcon: invalid context: httpd_sys_content_rw_t

And FWIW, the "Fix Command" offered by the SELinux error message
("setsebool -P httpd_unified=1") doesn't seem to help, either.

How do I need to massage SELinux to make this work?

-- 
Braden McDaniel                           e-mail: <braden endoframe com>
<http://endoframe.com>                    Jabber: <braden jabber org>



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