Problems using import --link

Doug Ledford dledford at redhat.com
Wed Jul 23 20:47:09 UTC 2008


On Wed, 2008-07-23 at 16:33 -0400, Naveen Gavini wrote:
> Hello all,
> 
> We are trying to bootstrap our new koji setup and when we attempt to 
> import using --link we get the error below.
> The packages that we are attempting to import are on the hub and have 
> been places in /mnt/koji/import (same volume).
> The ownership on the packages is daemon (same as /mnt/koji/) - not sure 
> if this matters.
> 
> 
> sudo koji import --link /mnt/koji/alsa-lib-1.0.14-1.rc4.el5.src.rpm
> 
> Linking rpm to: 
> /mnt/koji/work/cli-import/1216842099.8955669.PLyYLFZS/alsa-lib-1.0.14-1.rc4.el5.src.rpm 
> 

> os.rename(fn,final_path)\nOSError: [Errno 13] Permission denied

Did you make sure that the entire tree under /mnt/koji is owned by user
apache and group apache (or whatever user/group your web server runs
as)?  The xmlrpc code runs as the web user, so it needs permissions on
this tree.

-- 
Doug Ledford <dledford at redhat.com>
              GPG KeyID: CFBFF194
              http://people.redhat.com/dledford

Infiniband specific RPMs available at
              http://people.redhat.com/dledford/Infiniband

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20080723/474813e0/attachment.bin 


More information about the buildsys mailing list