thank you Dennis, I did as what you told me, it runs well , thank you.
But if the system will become no safe ?
.
2010/3/15 Dennis Gilmore <dennis(a)ausil.us>
On Monday 15 March 2010 04:50:15 am Eric Zhong wrote:
> i make SRPM dir, and put all srpms into it.
> i run the "koji import " or "koji import --link" , both fail.
> It looks like a Permission problem , but i can`t find it out.
> The mail
>
http://lists.fedoraproject.org/pipermail/buildsys/2008-July/002085.html
> does not help!
>
>
> =====================================================================
> [eric@wenjia koji]$ sudo koji import --link SRPM/zsh-4.2.6-1.src.rpm
> Linking rpm to:
> /mnt/koji/work/cli-import/1268645175.8120711.uWnjiPbj/zsh-4.2.6-1.src.rpm
> importing SRPM/zsh-4.2.6-1.src.rpm...
> Error importing: No such file:
> /mnt/koji/work/cli-import/1268645175.8120711.uWnjiPbj/zsh-4.2.6-1.src.rpm
>
> [eric@wenjia koji]$ sudo koji import SRPM/zsh-4.2.6-1.src.rpm
> uploading SRPM/zsh-4.2.6-1.src.rpm... Fault: <Fault 1: "<type
> 'exceptions.OSError'>: [Errno 13] Permission denied:
> '/mnt/koji/work/cli-import/1268645203.489852.QltdyQtr'">
>
> [eric@wenjia koji]$ ll
> drwxr-xr-x. 2 apache apache 4096 03-10 09:05 packages
> drwxr-xr-x. 2 apache apache 4096 03-10 09:05 repos
> drwxr-xr-x. 2 apache apache 4096 03-10 09:05 scratch
> drwxr-xr-x. 2 apache apache 73728 03-15 14:04 SRPM # all files
in
> this dir are apache:apache
> drwxr-xr-x. 3 apache apache 4096 03-15 17:26 work
>
> [eric@wenjia koji]$ pwd
> /mnt/koji
do you have selinux in enforcing mode? we dont yet have a good selinux
policy
for koji.
Do you plan to rebuild your srpms? if so you dont want to import them
instead
you want to build them.
if you plan to import matching binary rpms you really should do it all in
a
single transaction.
Dennis
--
buildsys mailing list
buildsys(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys