<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I had the same thing when I installed spacewalk for the first time. For
some reason the installer didn't create a /var/satellite/ directory so
I have to create it and change the owner to apache.<br>
<br>
Jem<br>
<br>
<br>
David Nutter wrote:
<blockquote cite="mid:20081010184516.GG25910@bioss.ac.uk" type="cite">
  <pre wrap="">On Fri, Oct 10, 2008 at 11:41:37AM -0700, Sean Allin wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm having an issue on pushing a package update up to spacewalk for 
libtiff-devel for CentOS.
The spacewalk server is an update from 0.1 to 0.2. Following is the log 
message:

Uploading package 
/mnt/sw-repo/CENTOS/centos/5/updates/i386/RPMS/libtiff-devel-3.8.2-7.el5_2.2.i386.rpm
Using POST request
Internal server error 500 Internal Server Error
Error pushing 
/mnt/sw-repo/CENTOS/centos/5/updates/i386/RPMS/libtiff-devel-3.8.2-7.el5_2.2.i386.rpm: Error 500Error Message:
    Package upload failed: [Errno 13] Permission denied: 
    '/var/satellite/redhat/1/a27/libtiff-devel'
Error Class Code: 50
Error Class Info: Invalid information uploaded to the server (500)
Waiting 4 seconds and trying again...
Giving up after 3 attempts


All other package updates worked ok. Any suggestions on debugging?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Check the permissions on the /var/satellite/redhat directory and
subdirectories. If you ran /usr/sbin/update-packages as root, the
apache:apache permissions required for the upload to work will have been
replaced with root:root. 

I have been bitten by that issue just today, in fact :)

Regards,

  </pre>
</blockquote>
</body>
</html>