Bug 669720

Summary: Createrepo breaks permissions for the repodata directory
Product: Red Hat Enterprise Linux 5 Reporter: Vadim Grinco <vgrinco>
Component: createrepoAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: james.antill, jzeleny, mgrigull
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-14 20:07:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vadim Grinco 2011-01-14 14:20:26 UTC
Description of problem:

Createrepo keeps breaking permissions for the repodata directory:

Version-Release number of selected component (if applicable):
$ rpm -q createrepo
createrepo-0.4.11-3.el5.noarch

How reproducible:
Always.

Steps to Reproduce:
1. $ ll -d repodata/
drwxrwxr-x 2 vgrinco engops 3864 Jan 14 09:15 repodata/
2. $ createrepo -vd . >/dev/null 
3. $ ll -d repodata/
drwxr-xr-x 2 vgrinco vgrinco 3864 Jan 14 09:15 repodata/
  
Actual results:
$ ll -d repodata/
drwxr-xr-x 2 vgrinco vgrinco 3864 Jan 14 09:15 repodata/

Expected results:
Permissions should be preserved.

Comment 1 Marco Grigull 2011-02-09 01:32:43 UTC
I see a similar issue:

group setting is retain but write permissions for the group is cleared.....

Related:
https://bugzilla.novell.com/show_bug.cgi?id=659915#c1

Comment 2 Marco Grigull 2011-02-09 01:34:19 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=673821

Comment 3 James Antill 2013-03-14 20:07:58 UTC
This request was evaluated by Red Hat Engineering for inclusion in a Red 
Hat Enterprise Linux maintenance release.

Red Hat does not currently plan to provide this change in a Red Hat 
Enterprise Linux update release for currently deployed products.

With the goal of minimizing risk of change for deployed systems, and in 
response to customer and partner requirements, Red Hat takes a 
conservative approach when evaluating enhancements for inclusion in 
maintenance updates for currently deployed products. The primary 
objectives of update releases are to enable new hardware platform 
support and to resolve critical defects.