yaa i know that. its just been bugging me for so many hours and im
running out of things to try, so i thought id try giving it every
access i could find.<br>
<br>
I tried renaming the file, moving it to another directory, but still
apache cannot see it.&nbsp; Everyone else can, even my normal user..<br>
<br>
Ill have a look at your suggestions.&nbsp; <br>
<br>
Regards<br>
Dan<br><br><div><span class="gmail_quote">On 2/12/06, <b class="gmail_sendername">John Summerfied</b> &lt;<a href="mailto:debian@herakles.homelinux.org">debian@herakles.homelinux.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dan wrote:<br>&gt; Hi guys.<br>&gt;<br>&gt; I am creating a yum repo using apache and have copied all the rpm files into<br>&gt; a dir and everything seems to go fine.<br>&gt;<br>&gt; However when try to access the file<br>
&gt; <a href="http://localhost/yum/Fedora/Core/4/...8.6-15.i386.rpm">http://localhost/yum/Fedora/Core/4/...8.6-15.i386.rpm</a>&lt;<a href="http://localhost/yum/Fedora/Core/4/base/perl-5.8.6-15.i386.rpm">http://localhost/yum/Fedora/Core/4/base/perl-5.8.6-15.i386.rpm
</a>&gt;<br>&gt; i always get an access denied error.<br>&gt;<br>&gt; all the other files in the directory access filne, and i have given all<br>&gt; permissions to that particular file in an attempt to get apache working.
<br>&gt;<br>&gt; Is there anything i have missed or is this a known apache bug and will just<br>&gt; have to live with it?<br>&gt;<br>&gt; The apache log has entries<br>&gt; [Sun Feb 12 14:10:04 2006] [error] [client <a href="http://127.0.0.1">
127.0.0.1</a>] (13)Permission denied:<br>&gt; access to /yum/Fedora/Core/4/base/perl-5.8.6-15.i386.rpm denied<br>&gt;<br>&gt; the file permissions are set at<br>&gt; -rwsrwxrwt 1 geekbox root 11766129 Feb 12 12:51 perl-5.8.6-15.i386.rpm
<br>Bloody hell!<br>chown root.root<br>chmod 644<br>Better<br>chown -R 0.0 /yum<br>find /yum -type d -exec chmod 755 {} \;<br>find /yum -type f -exec chmod 644 {} \;<br><br>You could also check for selinux messages.<br><br>
You really do _not_ want it world-writable. Nor are set-gid or set-uid<br>or sticky appropriate. Nor executable.<br><br><br>--<br><br>Cheers<br>John<br><br>-- spambait<br><a href="mailto:1aaaaaaa@computerdatasafe.com.au">
1aaaaaaa@computerdatasafe.com.au</a>&nbsp;&nbsp;<a href="mailto:Z1aaaaaaa@computerdatasafe.com.au">Z1aaaaaaa@computerdatasafe.com.au</a><br>Tourist pics <a href="http://portgeographe.environmentaldisasters.cds.merseine.nu/">http://portgeographe.environmentaldisasters.cds.merseine.nu/
</a><br><br>do not reply off-list<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>