Bug 19382

Summary: rpm --root xxx -i fails silently if user isn't root
Product: [Retired] Red Hat Linux Reporter: Fox, David <dsfox>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr
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: 2001-07-29 18:21:49 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 Fox, David 2000-10-19 15:09:13 UTC
Because the chroot call can only work for root, when I tried to install a
package into a temporary directory as a non-priviledged user it failed to
chroot and attempted to install
into /.  RPM should probably detect this case and signal an error, or at
least check the
result code from chroot.

It is unfortunate that regular users can't do this, but I suppose that is a
complaint for whoever
decreed that chroot shall only work for root.

Comment 1 Jeff Johnson 2001-07-29 18:21:45 UTC
*** Bug 11510 has been marked as a duplicate of this bug. ***

Comment 2 Jeff Johnson 2001-08-30 18:22:27 UTC
Collecting rpm needs root problems at #49899.

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