Why can't I do "rpm --root ... -i ..." as regular user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux