invalid context: httpd_sys_content_rw_t

Bruno Wolff III bruno at wolff.to
Sat Mar 14 15:43:01 UTC 2009


On Sat, Mar 14, 2009 at 02:45:43 -0400,
  Braden McDaniel <braden at endoframe.com> wrote:
> 
> That makes the type "httpd_user_content_t", which doesn't let httpd
> write to the directory.  Using "chcon -t" to change the type to
> httpd_user_content_rw_t does the trick, though.  Thanks.

You really want to use semanage to make the changes permanent. chcon
is OK for quick tests, but if you don't use semanage, then restorecon
won't know about the change and the next time that file gets checked
during a relabel, it will get its context changed back again.




More information about the fedora-list mailing list