Curious symlink problem with Apache -- FC12

Tom H tomh0665 at gmail.com
Wed Nov 3 21:50:01 UTC 2010


On Wed, Nov 3, 2010 at 8:58 AM, Robert Moskowitz <rgm at htt-consult.com> wrote:
> On 11/03/2010 07:04 AM, Tom H wrote:
>>
>> You're going to have to compare the selinux contexts with the "-Z" ls
>> option and then apply the correct context (most probably with
>> "--type=httpd_sys_content_t") on the CentOS repository.
>
> # ls -lsZ
> total 8
> lrwxrwxrwx root root ?                                Centos-5.5 ->
> /media/d4ae05a3-c60f-489d-8159-e16c9a271f0b/repos/centos/5.5
> lrwxrwxrwx root root ?                                FC12 ->
> /var/hda/files/repo/fedora/FC12
> -rw-r--r-- root root ?                                index.html
>
> selinux is disabled...

Then there's no point in using "-Z" and your problem's sue to
"regular" owner and perms issues...


More information about the users mailing list