Bug 700983

Summary: ccache dir owned by root
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mock-1.1.10-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 04:38:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Create ccache dir ad the builder.
none
Create ccache dir as the builder.
none
Fix a regression introduced by previous patch none

Description Remi Collet 2011-04-30 09:32:22 UTC
When ccache dir is redirected in config
config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc15i/"


This folder is created, owned by root, so unusable.

Should be created by the builder user.

Comment 1 Remi Collet 2011-04-30 09:33:36 UTC
Created attachment 495922 [details]
Create ccache dir ad the builder.

This trivial patch seems to fix this issue.

Comment 2 Remi Collet 2011-04-30 09:44:45 UTC
Created attachment 495924 [details]
Create ccache dir as the builder.

Comment 3 Clark Williams 2011-05-06 18:53:34 UTC
queued for next release (1.1.10 and 1.0.17)

Comment 4 Mathieu Bridon 2011-05-11 08:44:17 UTC
Created attachment 498223 [details]
Fix a regression introduced by previous patch

This patch introduced a regression: in some situations (e.g default configuration), the unpriviledge user doesn't have the permissions to create the ccache dir if it doesn't exist.

Comment 5 Clark Williams 2011-05-11 13:06:17 UTC
Thanks, I was just looking at this since things worked fine on my F14 system but failed on both EL5 and EL6. I'll apply and do some more testing.

Comment 6 Fedora Update System 2011-05-13 20:31:45 UTC
mock-1.1.10-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mock-1.1.10-1.fc15

Comment 7 Fedora Update System 2011-05-13 20:36:53 UTC
mock-1.1.10-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/mock-1.1.10-1.fc14

Comment 8 Fedora Update System 2011-05-13 20:41:06 UTC
mock-1.0.17-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mock-1.0.17-1.el5

Comment 9 Fedora Update System 2011-05-13 20:45:17 UTC
mock-1.1.10-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/mock-1.1.10-1.fc13

Comment 10 Fedora Update System 2011-05-13 20:49:32 UTC
mock-1.1.10-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.10-1.el6

Comment 11 Fedora Update System 2011-05-14 00:01:44 UTC
Package mock-1.1.10-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mock-1.1.10-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/mock-1.1.10-1.el6
then log in and leave karma (feedback).

Comment 12 Fedora Update System 2011-05-19 04:33:14 UTC
mock-1.1.10-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2011-05-25 02:40:33 UTC
mock-1.1.10-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2011-05-25 03:15:04 UTC
mock-1.1.10-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2011-06-02 19:04:44 UTC
mock-1.0.17-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2011-06-02 19:14:47 UTC
mock-1.1.10-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.