From: "Ed Street" To: "SELinux" , "Russell Coker" Subject: apache under debian Date: Mon, 31 May 2004 13:43:30 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A1_01C44715.430CBC90" Message-Id: <20040531174331.874163A404E@abyss.simplyaquatics.com> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov This is a multi-part message in MIME format. ------=_NextPart_000_00A1_01C44715.430CBC90 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Hello, To be able to read the /var/www/ directory I had to add the following line. #http stuff allow httpd_t var_t:file { getattr read }; Yet /var/www is this. drwxrwxrwx www-data www-data system_u:object_r:httpd_sys_content_t www does this mean we need some additional rules for apache? Ed --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.692 / Virus Database: 453 - Release Date: 5/28/2004 ------=_NextPart_000_00A1_01C44715.430CBC90 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Hello,

 

To be able to read the /var/www/ directory I had to = add the following line.

 

#http stuff

allow httpd_t var_t:file { getattr read = };

 

Yet /var/www is this.

 

drwxrwxrwx  www-data www-data system_u:object_r:httpd_sys_content_t www

 

does this mean we need some additional rules for = apache?

 

Ed


---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.692 / Virus Database: 453 - Release Date: 5/28/2004

------=_NextPart_000_00A1_01C44715.430CBC90-- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.