Bug 1561182 - permissions error on dnf module list
Summary: permissions error on dnf module list
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-27 20:28 UTC by Langdon White
Modified: 2018-03-27 21:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-27 21:12:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Langdon White 2018-03-27 20:28:50 UTC
Description of problem:
When running dnf module list as non-root you get a permissions error.

Version-Release number of selected component (if applicable):
dnf-0:2.7.5-8

Steps to Reproduce:
[user@localhost ~]$ dnf module list
Fedora Modular 28 - x86_64 511 kB/s | 244 kB 00:00
Fedora Modular 28 - x86_64 - Updates 875 B/s | 257 B 00:00
Fedora Modular 28 - x86_64 - Test Updates 169 kB/s | 129 kB 00:00
Fedora 28 - x86_64 - Test Updates 12 MB/s | 11 MB 00:00
Fedora 28 - x86_64 - Updates 771 B/s | 257 B 00:00
^[[OFedora 28 - x86_64 51% [====================================== ] 6.3 MB/s | 31 MB 00:04 ^[[I^[[OFedora 28 - x86_64 71% [=====================================================- ] 8.4 MB/s | 43 MB 00Fedora 28 - x86_64 33 MB/s | 60 MB 00:01
Last metadata expiration check: 0:00:00 ago on Tue 27 Mar 2018 04:12:48 PM EDT.
[Errno 13] Permission denied: '/etc/dnf/modules.d'

Comment 1 Martin Hatina 2018-03-27 21:12:11 UTC
Fixed in dnf-2.7.5-9.


Note You need to log in before you can comment on or make changes to this bug.