Bug 19382 - rpm --root xxx -i fails silently if user isn't root
rpm --root xxx -i fails silently if user isn't root
Status: CLOSED DUPLICATE of bug 49899
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
:
: 11510 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-19 11:09 EDT by Fox, David
Modified: 2007-04-18 12:29 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-29 14:21:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Fox, David 2000-10-19 11:09:13 EDT
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 14:21:45 EDT
*** Bug 11510 has been marked as a duplicate of this bug. ***
Comment 2 Jeff Johnson 2001-08-30 14:22:27 EDT
Collecting rpm needs root problems at #49899.

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

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