[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Selinux .vs. Apache
- From: Bruno Wolff III <bruno wolff to>
- To: Konstantin Ryabitsev <icon fedoraproject org>
- Cc: For testers of Fedora Core development releases <fedora-test-list redhat com>
- Subject: Re: Selinux .vs. Apache
- Date: Sun, 30 Nov 2008 23:48:16 -0600
On Sat, Nov 29, 2008 at 19:01:40 -0500,
Konstantin Ryabitsev <icon fedoraproject org> wrote:
>
> Come on, now -- all you have to do is label the files correctly. E.g.
> I'm pretty sure the OP's problems would be resolved by running "chcon
> -R -t http_sys_content_t" on his web tree. You do *not* want apache to
> read just any file on your filesystem -- it's not "broken by design"
> but "made safer by design."
You want to use semanage to make sure you don't get burnt later during a
relabel. And once you do that it is easier (and a good double check) to
use restorecon rather than chcon to relabel the files.
I find chcon is more useful for testing things rather than configuring things.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]