apache woes forbidden strange

Jeff Vian jvian10 at charter.net
Sun Feb 12 05:06:02 UTC 2006


On Sun, 2006-02-12 at 14:25 +1300, Dan wrote:
> Hi guys.
> 
> I am creating a yum repo using apache and have copied all the rpm
> files into a dir and everything seems to go fine.
> 
> However when try to access the file
> http://localhost/yum/Fedora/Core/4/...8.6-15.i386.rpm
> i always get an access denied error.
> 
> all the other files in the directory access filne, and i have given
> all permissions to that particular file in an attempt to get apache
> working.
> 
> Is there anything i have missed or is this a known apache bug and will
> just have to live with it?
> 
> The apache log has entries 
> [Sun Feb 12 14:10:04 2006] [error] [client 127.0.0.1] (13)Permission
> denied: access to /yum/Fedora/Core/4/base/perl-5.8.6-15.i386.rpm
> denied
> 
> the file permissions are set at
> -rwsrwxrwt 1 geekbox root 11766129 Feb 12 12:51 perl-5.8.6-15.i386.rpm
> 
Why would you have a file in /usr/local that has the SUID bit set?
Also RPMs should *not* be executable.  They certainly do not need to be
executable for rpm to use them.

Is this an SElinux problem?
Try turning selinux off and see if it makes a difference.

> Regards
> Dan 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the users mailing list