Yes, user is belong to mock group!
SELinux Disabled!
This Error come after i delete some users' account : koji, builder, etc
these are all created by test, not used now, so i delete them.
Is this cause that ?
I have reinstall the OS, and it 's OK now !
But i also want to know why? Prevent Next time i trigger it .

2010/3/30 <>
Does user belong to mock group ?


Rodrigo Trujillo
Software Engineer
Linux Technology Center - Brasil

From: Eric Zhong <>
To: buildsys <>
Date: 29/03/2010 02:53
Subject: Mock: Permission denied
Sent by:

What's wrong?


[eric@wenjia ~]$ ll -d /var/lib/mock/dist-foo-build-42-21/root/builddir/
drwx------ 2 torrent mock 4096 03-29 11:08 /var/lib/mock/dist-foo-build-42-21/root/builddir/

DEBUG  creating dir: /var/lib/mock/dist-foo-build-42-21/root/builddir/build/RPMS
ERROR  Could not create dir /var/lib/mock/dist-foo-build-42-21/root/builddir/build/RPMS. Error: [Errno 13] Permission denied: '/var/lib/mock/dist-foo-build-42-21/root/builddir/build'

Traceback (most recent call last):
 File "/usr/lib/python2.6/site-packages/mock/", line 61, in mkdirIfAbsent
 File "/usr/lib/python2.6/", line 150, in makedirs

   makedirs(head, mode)
 File "/usr/lib/python2.6/", line 157, in makedirs
   mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/mock/dist-foo-build-42-21/root/builddir/build'

DEBUG  kill orphans
buildsys mailing list

buildsys mailing list