Curious symlink problem with Apache -- FC12
Robert Moskowitz
rgm at htt-consult.com
Wed Nov 3 05:59:26 UTC 2010
On 11/02/2010 10:07 PM, Bruno Wolff III wrote:
> On Tue, Nov 02, 2010 at 21:39:38 -0400,
> Robert Moskowitz<rgm at htt-consult.com> wrote:
>
>> The link to FC12 works. The link ot Centos-5.5 gets a 403 failure:
>>
>> You don't have permission to access /Centos-5.5 on this server.
>>
>> The permissions look the same, so why the failure? And looking into
>> these two symlinks:
>>
> Are you running selinux in enforcing more?
# cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
> Apache has limited access to
> files and generally they need to be labeled something like:
> httpd_sys_content_t
How do you set this?
More information about the users
mailing list