It would be good if this was changed, even if only when doing --justdb. Things like the rpmdb package could then be build as a user.
John.
Toralf Lund wrote:
Why does this happen?
rpm --root /var/tmp/root --initdb
rpm --root /var/tmp/root -i setup-2.5.25-1.noarch.rpm
error: unpacking of archive failed on file /etc/bashrc;4046f939: cpio: open failed - Permission denied
I do have permissions for the current root; I just created it! Also,
rpm2cpio setup-2.5.25-1.noarch.rpm | (cd /var/tmp/root; cpio -idvmu)
works just fine.
rpm version 4.2-1
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list
-- Computer Systems Officer School of Information Technology Swinburne University of Technology Melbourne, Australia http://www.it.swin.edu.au/staff/jnewbigin
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list