[Rpm-maint] [rpm-software-management/rpm] RPM 4.20.0 --root /PATH/TO/FAKEROOT Reports "Unable to change root directory: Operation not permitted" (Issue #3441)
Tomas
notifications at github.com
Tue Nov 12 08:09:05 UTC 2024
**Describe the bug**
I need to use command `rpm --root /path/to/image/fakeroot -ivh xxx.rpm xxx.rpm` as normal user to install RPM packages into my fakeroot for my embedded system.
When running with RPM 4.19.1.1, the above command runs perfectly.
However, after I upgrade my Fedora 40 to Fedora 41, RPM is also upgraded to versoin 4.20.0, the above command reports `error: Unable to change root directory: Operation not permitted`
**To Reproduce**
Steps to reproduce the behavior:
run `rpm --root $(mktemp -d) -ivh your_rpm_name.rpm`
as normal user
**Expected behavior**
rpm install the RPM package into the path specified by --root
**Output**
rpm reports:
`error: Unable to change root directory: Operation not permitted`
**Environment**
- OS / Distribution: [Fedora 41]
- Version [rpm-4.20.0]
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3441
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3441 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241112/364c5466/attachment.html>
More information about the Rpm-maint
mailing list