Re: Curious symlink problem with Apache -- FC12

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

 



Well this is not going well...

On 11/03/2010 10:15 AM, Roberto Ragusa wrote:
> James Mckenzie wrote:
>    
>> Robert Moskowitz<rgm@xxxxxxxxxxxxxxx>  wrote:
>>
>>      
>>> # 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...
>>>
>>>        
>> What are the permissions on the original directories?  The symlink should pick them up and use them.
>>
>> The previous comment about Apache following symlinks would apply if BOTH directories were unavailable.
>>      
> Also check the permission of the entire path.
> For example, what about the permission of /media/d4ae05a3-c60f-489d-8159-e16c9a271f0b?
>
> Try this,as root:
>
> cd /
> su apache
>    

# cd /
[root@homebase /]# su apache
This account is currently not available.

Huh? So I checked:

# grep apache /etc/passwd
apache:x:48:100:Apache:/var/www:/sbin/nologin



> cd /media
> cd d4ae05a3-c60f-489d-8159-e16c9a271f0b
> cd repos
> cd centos
> cd 5.5
> ls -l
>
> Maybe one of this steps fails when you are user apache.
>
>    
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux