Red Hat Bugzilla – Bug 50697
/var/lib/rpm/__db.* are shipped rpm.rpm but created root.root
Last modified: 2007-04-18 12:35:24 EDT
The database cache files /var/lib/rpm/__db.* are shipped in the rpm package
with ownership rpm.rpm, but if they're created during rpm operations,
they're created with ownership root.root (since rpm is running as root).
Either (a) rpm should chown/chgrp the files after creating them, or (b)
they should be shipped with ownership root.root so the ownership in the
package matches the ownership when they're created dynamically.
*** This bug has been marked as a duplicate of 49663 ***