On Fri, 19 Nov 2004 09:48:51 +0200, Mircea MITU <[EMAIL PROTECTED]> wrote: > Content-Type: text/plain > Content-Transfer-Encoding: quoted-printable > On Thu, 2004-11-18 at 22:59 +0200, Mircea Vutcovici wrote: > > Salut, > > Am o problema cu SELinux poate s-a mai lovit careva de asta: > > Ma chinui sa fac sa mearga httpd-ul cu SELinux setat pe targeted ca sa po= > ata sa > > citeasca din home-uri public_html-ul. > > > Daca nu ajuta > http://fedora.redhat.com/docs/selinux-apache-fc3/
Multam fain, am rezolvat. # echo 1 > /selinux/booleans/httpd_enable_homedirs sau: # setsebool httpd_enable_homedirs true $ ls -ldZ ~/public_html/ drwxrwxr-x mot mot user_u:object_r:user_home_t public_html $ chcon -t httpd_sys_content_t public_html $ ls -ldZ public_html drwxrwxr-x mot mot user_u:object_r:httpd_sys_content_t public_html Ideea era sa schimb labelul pentru public_html si fisierele/directoarele din el. http://fedora.redhat.com/docs/selinux-apache-fc3/sn-user-homedir.html > atunci posteaza pe fedora-devel deoarece acolo se discuta probleme de > debugging selinux/fc3. > --- Detalii despre listele noastre de mail: http://www.lug.ro/
