Re: httpd permission problem

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

 



On Sat, 2013-02-16 at 17:12 +0100, Gergely Buday wrote:
> Hi there,
> 
> I got the advice on the Apache mailing list that this might be an
> selinux problem.
> 
> I have a directory under my home dir, and I would like that Apache
> served that. It says 403 Forbidden. I have created a web group that
> includes my user and apache. It is set in the httpd.conf file. After
> using chcon, ls -Z tells me
> 
> drwxr-x---. gergoe web    system_u:object_r:httpd_sys_content_t:s0 wordpress
> 
> and the same for all the files under. Still, I cannot access the
> content in that dir.
> 
> What else should I set?
> 
Does it work if you test it in permissive mode?:

setenforce 0
getenforce
! do test
setenforce 1
getenforce

if it works in permissive mode but not in enforcing mode than it is
likely selinux blocking

if it does not work in permissive mode either then  its likely not an
selinux related issue


> - Gergely
> --
> selinux mailing list
> selinux@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/selinux


--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux