Description of problem: Get an error when running group operations as non root Version-Release number of selected component (if applicable): 0.4.18 How reproducible: everytime Steps to Reproduce: 1. dnf group list 2. 3. Actual results: Traceback (most recent call last): File "/usr/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 242, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 74, in main return 1 File "/usr/lib/python2.7/site-packages/dnf/base.py", line 116, in __exit__ self.close() File "/usr/lib/python2.7/site-packages/dnf/base.py", line 245, in close self._store_persistent_data() File "/usr/lib/python2.7/site-packages/dnf/base.py", line 171, in _store_persistent_data self._group_persistor.save() File "/usr/lib/python2.7/site-packages/dnf/persistor.py", line 55, in save with open(self.db, 'w') as db: IOError: [Errno 13] Permission denied: '/var/lib/dnf/groups.json' Expected results: No traceback Additional info:
My bad, will fix it. Since it's only affecting non-root I wouldn't like to unpush https://admin.fedoraproject.org/updates/dnf-0.4.18-1.fc20 . But who knows how what the karma is giong to do.
Fine with me, most users will use dnf as root. It makes yumex-dnf blow up when closing, but i can live with that until a fix is released. :-)
Fixed upstream by fc9f912. Tim, if you don't want to wait for a proper release, you can try our CI repos: http://jenkins.cloud.fedoraproject.org/job/DNF/lastSuccessfulBuild/artifact/ we're experiencing various issues there lately but all should be fine soon and the builds there are all latest & greatest.
Thanks, I will test it when an updated build pops up. looking at the code it should fix the issue
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.