Bug 1058224
Summary: | the system cache should be world readable by default | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Elad Alfassa <elad> |
Component: | dnf | Assignee: | Honza Silhan <jsilhan> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | 20 | CC: | akozumpl, packaging-team-maint, pnemade, rholy, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dnf-0.4.17-1.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-03-08 03:35:15 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
Elad Alfassa
2014-01-27 09:32:28 UTC
I think it needs a root user access. That's silly. It's a read only command and I explicitly specified --cacheonly, which means "Don't download metadata, use existing cache". yes, it's what it does: it's trying to use the root cache, see the manual. the root cache is created with permissions given by root's umask. if you change the permissions on the root cahe to be readable by the user (safe) all should be fine. Why is this the default? Hmm, actually I think you might be right, this should be world-readable, at least until somebody starts to complain. We'll take a look at this. System cache was readable by user. The problem was during decompression of xmls into root directory. Fixed in the upstream. dnf-0.4.17-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.17-1.fc20 Package dnf-0.4.17-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.17-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3465/dnf-0.4.17-1.fc20 then log in and leave karma (feedback). dnf grouplist --cacheonly Error: This command has to be run under the root user. dnf grouplist --cacheonly --noplugins works the initial problem is solved, but looks like the noroot plugin has an issue in this case. dnf-0.4.17-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |