Hi Frank,
On Sun, 2008-01-20 at 18:31 +0100, Frank Büttner wrote: ...
Ok testet, now an mock init fails with: mock -r fedora-4-i386-epel init INFO: mock.py version 0.8.9 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot State Changed: clean State Changed: init ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/util.py", line 42, in mkdirIfAbsent os.makedirs(dir) File "/usr/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'
Does your /var/lib/mock have correct permissions? If you deleted it and recreated it, please make sure that it is owned by "mock" group, is group writable, and has a setgid bit set:
drwxrwsr-x 2 root mock 4096 2008-01-20 13:54 /var/lib/mock
Thanks,