in reply to Re^3: cgi script write to crontab
in thread how to avoid web server from getting hacked

Moritz you were right on. After playing with SeLinux(and some hair pulling) I finally got it to work. Like what Moritz said it seems that Se Linux will only allow Apache to run on directories that have the httpd context. I could have either found a directory that had that context or change the context of another directory to enable me to write to a file in that directory. Here are the commands that I used to to get it to work.....
chcon -r httpd_sys_content_t/home/jma(changes my home directory to hav +e httpd context so that I can have an apache process can run in this +directory) chmod 775 /home/jma
Now, I will have to figure out if this is a safe way to do things...haha