Bug 1053676

Summary: RFE: User/root permissions are not checked before running install/update operations
Product: [Fedora] Fedora Reporter: jpacner
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 19CC: akozumpl, ovasik, packaging-team-maint, pnemade, rholy
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: 2014-01-15 16:37:27 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 jpacner 2014-01-15 15:48:38 UTC
Description of problem:
If dnf is run under non-root user and the requested operation is a non-read-only one (e.g. install/update), it fails first after few minutes of crunching data.

Version-Release number of selected component (if applicable):
dnf version: 0.3.11

How reproducible:
always

Steps to Reproduce:
1. # assert id -u is not 0
2. dnf update

Actual results:
... permission denied to ...

Expected results:
permissions are checked before any operation is run.

Comment 1 Radek Holy 2014-01-15 16:37:27 UTC
Hello, thank you for the report. It is a duplicate of bug 910133.

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