Thanks Bill,
When I disabled the selinux (or even set it to permissive mode), the problem solved.

Bill Jones wrote:
On 5/15/06, Amir Aavani <[EMAIL PROTECTED]> wrote:

I recently installed FC5 on my laptop, Before that I had FC4 with latest
version of httpd. On FC4, i developed a cgi application (using fpc)
which read/write from/to some files. The files where on my desktop, i.e
/home/Amir/Desktop/1 . Also, I set the User and Group parameters in
httpd.conf to "Amir". The file worked correctly on FC4. But now my file
can't read/write from that file (any file, I changed the place of the file).
I checked if my configuration was correct, I asked my cgi application to
print the effective user ID by whom it is run.

try as root;
setenforce 0

to see if selinux is interfering.  if it now works, selinux is stoppng
your cgi -- then you will ned to modify the policy enforcement under
httpd->allow cgi write access (all this is located under the GUI
security panel.)



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to