Re: httpd avc denied problem

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

 



>> I am new to SELinux and Fedora 3 - setting up a replacement server for
the one that got hacked
>> I transfered our websites over and discovered I had to have them all
under /usr/www/

>>Who or what does tell you this should be this way? /usr/ is the wrong
>>place.

Ok I moved everything under /var/www..
ran fixfiles
changed everything under httpd.conf to point to /var/www/...
I got the same error messages just different directories

Being desperate to get this working I copied the error_log from a directory
that was working
ran fixfiles
and got avc:  denied  { append }...
(13)Permission denied: httpd: could not open error log file
/var/www/spokanewines.com/logs/error_log.
Unable to open logs

[root@webmail ~]# cd /var/www/spokanewines.com/logs/
[root@webmail logs]# ls -alZ
drwxr-xr-x  root     root     system_u:object_r:httpd_sys_content_t .
drwxrwxrwx  root     root     system_u:object_r:httpd_sys_content_t ..
-rw-r--r--  root     root     system_u:object_r:httpd_sys_content_t
access_log
-rw-r--r--  root     root     system_u:object_r:httpd_sys_content_t
error_log

I tried to run
system-config-securitylevel
but there are no references to Boolean options for Apache HTTP
just firewall options.


----- Original Message ----- 
From: "Alexander Dalloz" <ad+lists@xxxxxxxxx>
To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Monday, November 29, 2004 11:25 AM
Subject: Re: httpd avc denied problem


> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux