[rhelv6-list] yum reinstall permissions bug?

Alan Bartlett ajb at elrepo.org
Mon Dec 5 00:02:30 UTC 2011


On 4 December 2011 23:34,  <dsavage at peaknet.net> wrote:
> I recently found myself needing to use yum to reinstall all the packages
> on my RHEL6.1 server to correct their ownerships inadvertently changed by
> a rogue script. Afterwards I noticed that there were still several dozen
> packages with the wrong permissions (Modes, according to 'rpm -V'). These
> same packages had just been reinstalled by yum.
>
> If yum's reinstall does not restore permissions to their original values,
> is that a bug? Or is there another preferred way to do that?

An answer to your second question can be found on the rpm manual page,
under the MISCELLANEOUS heading,

rpm {--setperms|--setugids} PACKAGE_NAME ...

As for your first question, yes, it might be a bug.

Alan.




More information about the rhelv6-list mailing list