Re: [users@httpd] cgi permission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <Amir.Aavani@xxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux