Description of problem: If there is a .repo file with wrong permissions, dnf exits instead of skipping it when reading .repo files. Version-Release number of selected component (if applicable): How reproducible: 100 % Steps to Reproduce: 1. make some .repo file readable only for the owner (root) 2. run 'dnf search foo' as a user different than root Actual results: dnf fails to search for the package Expected results: dnf searches for the package and just prints a warning Additional info: [vpodzime@vpodzime ~]$ yum search anaconda-addon Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit Skipping unreadable repository '///etc/yum.repos.d/SpiderOak-stable.repo' ======================================================= N/S matched: anaconda-addon ======================================================== oscap-anaconda-addon.noarch : Anaconda addon integrating OpenSCAP to the installation process Name and summary matches only, use "search all" for everything. [vpodzime@vpodzime ~]$ dnf search anaconda-addon Error: Error accessing file for config file://///etc/yum.repos.d/SpiderOak-stable.repo
Hello, thank you for the report. We will take a look at it.
related bug 809598. Both behaviors are controversial but the skipping+warning maybe a bit less so let's go with that for now.
Fixed upstream by beea722.
dnf-0.4.18-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.18-1.fc20
Package dnf-0.4.18-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.4.18-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3999/dnf-0.4.18-1.fc20 then log in and leave karma (feedback).
dnf-0.4.19-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.19-1.fc20
dnf-0.4.19-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.