Hey all, I have a simple php app working that writes some info to a text file. The app will only work correctly if SELinux is disabled. If it's enabled and try to use the app, it fails. It seems that SELinux is denying the app ability to write to the text file. So I tried running the following command: chcon -R -t httpd_sys_content_t /var/www And tried veriying the command with the following: ls -RZ /var/www And everything seems to be in order. For example I see: -rw-r--r--. apache apache system_u:object_r:httpd_sys_content_t:s0 vieworders.php But the app stil won't function correctly unless SELinux is set to off. What can I do to get it work with it enabled? Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos