Bug 236534 - cannot run mock for same chroot by different users
cannot run mock for same chroot by different users
Status: CLOSED ERRATA
Product: Fedora Hosted Projects
Classification: Retired
Component: mock (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Clark Williams
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-16 04:36 EDT by Jeroen Janssen
Modified: 2013-01-09 23:15 EST (History)
1 user (show)

See Also:
Fixed In Version: 0.7.1-1.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-21 16:04:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeroen Janssen 2007-04-16 04:36:23 EDT
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 17:12:23 EDT
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 16:03:58 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.