On 4 December 2011 23:34,  <dsav...@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.

_______________________________________________
rhelv6-list mailing list
rhelv6-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv6-list

Reply via email to