Bug 907667 - Unowned directories /usr/share/mime/all, /usr/share/mime/uri/
Summary: Unowned directories /usr/share/mime/all, /usr/share/mime/uri/
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
Depends On: 587573
TreeView+ depends on / blocked
Reported: 2013-02-04 23:12 UTC by Michael S.
Modified: 2015-01-17 05:49 UTC (History)
11 users (show)

Fixed In Version: kdelibs-4.14.3-8.fc21
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2014-12-18 14:22:37 UTC
Type: Bug

Attachments (Terms of Use)

Description Michael S. 2013-02-04 23:12:37 UTC
After installing some kde packages in a chroot, I found out that update-mime-database do create file in /usr :

# cat /usr/share/mime/uri/mmst.xml 
<?xml version="1.0" encoding="utf-8"?>
<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="uri/mmst">
  <!--Created automatically by update-mime-database. DO NOT EDIT!-->
  <comment>mmst: URIs</comment>

# rpm -qf /usr/share/mime/uri/*
file /usr/share/mime/uri/mmst.xml is not owned by any package

# rpm -qf /usr/share/mime/uri/
file /usr/share/mime/uri is not owned by any package

I think /usr/share/mime/uri/ should be owned by shared-mime-database.
( I investigate the 2nd one about creating file on /usr without having them owned by the package that created them )

Comment 1 Michael S. 2013-02-04 23:13:16 UTC
And the same goes for /usr/share/mime/all 

# rpm -qf /usr/share/mime/all
file /usr/share/mime/all is not owned by any package

Comment 2 Fedora End Of Life 2013-04-03 14:03:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:

Comment 3 Matthias Clasen 2013-06-17 00:06:53 UTC
These are all 'fake mimetypes' that are installed by kde. Moving this bug there.

Comment 4 Rex Dieter 2014-12-18 14:17:58 UTC
uri/ stuff is being dropped per classic bug #587573

I'll add ownership of mime/all here

Comment 5 Rex Dieter 2014-12-18 14:22:37 UTC
Fixed in rawhide, stable release will get rolled in when next update comes (not issuing one just for this).

* Thu Dec 18 2014 Rex Dieter <rdieter> - 6:4.14.3-6
- kill uri/ fake mimetypes (#587573, kde#269045)
- own fake mimetype dirs, e.g. mime/all/ (#907667)

Comment 6 Fedora Update System 2014-12-30 15:16:08 UTC
kdelibs-4.14.3-8.fc21 has been submitted as an update for Fedora 21.

Comment 7 Fedora Update System 2014-12-30 15:22:29 UTC
kdelibs-4.14.3-8.fc20 has been submitted as an update for Fedora 20.

Comment 8 Fedora Update System 2015-01-08 23:31:39 UTC
kdelibs-4.14.3-8.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-01-17 05:49:50 UTC
kdelibs-4.14.3-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.