Bug 2390024 - rpm --all --setperms --setugids doesn't work in v4.20.1
Summary: rpm --all --setperms --setugids doesn't work in v4.20.1
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 41
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-21 06:55 UTC by Bug 32
Modified: 2025-08-26 08:49 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-26 08:49:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management rpm issues 3904 0 None open rpm --all --setperms --setugids doesn't work in v4.20.1 2025-08-26 08:49:09 UTC

Description Bug 32 2025-08-21 06:55:09 UTC
When I tried running "sudo rpm --all --setperms --setugids" it doesn't work, no output even with the --verbose flag. It works when I specify a package name, but not with all installed packages by using the --all flag. This occurs with the latest rpm v4.20.1.

It works with rpm v4.20.0 of the stable repo as expected.

Reproducible: Always

Steps to Reproduce:
1. Run "sudo rpm --all --setperms --setugids"
Actual Results:
No output. Nothing.

Expected Results:
RPM should reset the permissions and user/group ownership files of all installed packages.

Comment 1 Michal Domonkos 2025-08-26 08:46:18 UTC
Bisected down to the following commit:
https://github.com/rpm-software-management/rpm/commit/cf78319c5883453b9641d325402e35f6c8a73d78

That's a strange one but we'll investigate. Thanks for the report!


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