Saturday, March 10, 2007

Modifying File Security Context

When you are Fedora user like me, and occasionaly download some scripts to try on your own web server, make sure you have changed the security context of the files to "httpd_sys_content_t" by applying:
chcon -R -h -t httpd_sys_content_t *
after you copy to your webserver directory, otherwise you will get "Forbidden Access" result.