Bug 1251894

Summary: Wrong permissions for new copr repository files
Product: [Fedora] Fedora Reporter: Heiko Adams <bugzilla>
Component: dnf-plugins-coreAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-11 14:38:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Heiko Adams 2015-08-10 08:55:21 UTC
Description of problem:
When adding new copr repositories by using "sudo dnf copr enable xy" the repository files are only readable for root which causes "dnf repolist" to claim the copr repository as not readable.

Version-Release number of selected component (if applicable):
dnf-plugins-core-0.1.9-1.fc22.noarch

How reproducible:
allways

Steps to Reproduce:
1. Run "sudo dnf copr enable" for a copr repo you want to use
2. Run "dnf repolist" to see all available repos on your machine

Actual results:
The copr repo-file is not readable to your user due to wrong file premissions.

Expected results:
The copr repo-file should be readable to all users like other repos.

Additional info:
Doing a "sudo chmod a+x" on the copr repo file solves the problem

Comment 1 Radek Holy 2015-08-11 14:38:12 UTC

*** This bug has been marked as a duplicate of bug 1250299 ***