Is RPM now stricter about checking for file conflicts?

Panu Matilainen pmatilai at laiskiainen.org
Wed Oct 31 14:38:45 UTC 2012


On 10/29/2012 04:06 PM, Michel Alexandre Salim wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/29/2012 05:39 PM, Petr Pisar wrote:
>> On 2012-10-29, Michel Alexandre Salim <salimma at fedoraproject.org>
>> wrote:
>>> On 10/28/2012 04:08 AM, Paul Howarth wrote: Is there any RPM-fu I
>>> can use to extract the ownership and permissions from the package
>>> for comparison?
>>>
>> rpm -q -lv -p foo.rpm
>>
> Aha, thanks!
>
> - - google-musicmanager has /usr/bin with 644 permission; filesystem has 444
> - - VirtualBox-4.2 has /lib/modules; filesystem has /usr/lib/modules
> with /lib -> /usr/lib

/lib/modules vs /usr/lib/modules with /lib -> /usr/lib link does not 
cause a conflict, the different permissions of the modules directory 
does. The right thing for VirtualBox to do is to not try to own such 
directories in the first place (it claims to own /usr/bin, stuff under 
/usr/share etc too)

	- Panu -



More information about the devel mailing list