Bug 236534

Summary: cannot run mock for same chroot by different users
Product: [Retired] Fedora Hosted Projects Reporter: Jeroen Janssen <japj>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.1-1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-21 20:04:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jeroen Janssen 2007-04-16 08:36:23 UTC
Description of problem:

It's not possible for different users to run mock on the same chroot.
This is due to a permission problem on /var/lib/mock/<chroot>/state/status,
which only allows write acces to the owner of the file instead of the mock group.

Version-Release number of selected component (if applicable):

mock 0.6.11-1.fc6

How reproducible:

Allways

Steps to Reproduce:
1. have 2 users in the mock group
2. build a srpm in mock for chroot 'a' by 'userx'
3. build a srpm in moch for chroot 'a' by 'usery'
  
Actual results:

mock permission failure on /var/lib/mock/<chroot>/state/status
(permission rw-r--r--  userx mock)

Expected results:

/var/lib/mock/<chroot>/state/status to have write permission for group
(permission rw-rw-r--  userx mock)

Additional info:

Comment 1 Fedora Update System 2007-06-14 21:12:23 UTC
mock-0.7.1-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 2 Fedora Update System 2007-06-21 20:03:58 UTC
mock-0.7.1-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.