Ownership of /usr/lib/rpm/fileattrs

Mikolaj Izdebski mizdebsk at redhat.com
Mon Nov 2 23:24:00 UTC 2015


On 11/02/2015 11:43 PM, Orion Poplawski wrote:
> On 11/02/2015 03:23 PM, Mikolaj Izdebski wrote:
>> On 10/30/2015 12:24 PM, Florian Festi wrote:
>>> I moved the directory over in rawhide (rpm-4.13.0-0.rc1.8.fc24). It is
>>> probably a bit late for F23. Shall I clone the bug for
>>> javapackages-tools, rpm-mpi-hooks, supermin-devel to get them adjusted
>>> or can you take care of them on your own?
>>
>> I have just fixed javapackages-tools upstream [1] by adding missing
>> directory ownership. The change will propagate to rawhide with next
>> upstream release.
>>
>> [1] https://github.com/mizdebsk/javapackages/commit/4cfed9e
>>
> 
> I think you missed a bit of the point.  There is no need to require rpm since
> *everything* implicitly requires rpm, so there is no need to own those
> directories.

Initially I assumed so -- that's why javapackages-tools didn't own these
directories. It only owned fileattrs directory, which was installed by
rpm-build.

Now I re-read packaging guidelines part about directory ownership [1],
which implies that package installing file to directory not owned by
filesystem or man packages should own the directory, unless it requires
package owning the directory. I didn't find anything about implicit
dependency on rpm.

[1]
https://fedoraproject.org/wiki/Packaging:Guidelines#File_and_Directory_Ownership

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk


More information about the devel mailing list