Bug 5352

Summary: rpm -q not available to non-root users
Product: [Retired] Red Hat Linux Reporter: Chris Runge <crunge>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-09-24 23:11:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Runge 1999-09-24 22:15:58 UTC
Under Lorax 6.0.80 non-root users can no longer rpm -q
packages:

$ rpm -q kernel
failed to open //var/lib/rpm/packages.rpm

rpmQuery: rpmdbOpen() failed

This is with rpm-3.0.3-0.32 installed

Comment 1 Jeff Johnson 1999-09-24 23:11:59 UTC
Check perms on /var/lib/rpm/* files. If they are 000, this problem
(naively believing what the installer passes for permissions) has
been fixed. Otherwise, please reopen this bug.