Bug 204847 - Unowned directories
Summary: Unowned directories
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: iso-codes
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag Nemade
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-31 21:04 UTC by Steven Pritchard
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-24 06:42:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steven Pritchard 2006-08-31 21:04:04 UTC
Description of problem:
iso-codes installs files in various unowned locale directories.

For example:

$ rpm -qf /usr/share/locale/sw /usr/share/locale/sw/LC_MESSAGES
file /usr/share/locale/sw is not owned by any package
file /usr/share/locale/sw/LC_MESSAGES is not owned by any package
$ rpm -qf /usr/share/locale/sw/LC_MESSAGES/iso*
iso-codes-0.49-1
iso-codes-0.49-1

There appear to be 145 such unowned directories if the following ugly script is
to be believed:

rpm -ql iso-codes \
    | while read file ; do dirname "$file" ; done \
    | while read dir ; do echo $dir ; dirname $dir ; done \
    | sort -u | xargs rpm -qf | grep 'is not owned' | wc -l

Version-Release number of selected component (if applicable):
0.49-1

Comment 3 Jens Petersen 2007-07-24 03:58:19 UTC
This looks fixed to me (in F7 at least), could you confirm, Parag?

Comment 4 Parag Nemade 2007-07-24 05:29:53 UTC
on rawhide and F7 it gave me
 rpm -ql iso-codes     | while read file ; do dirname "$file" ; done     | while
read dir ; do echo $dir ; dirname $dir ; done     | sort -u | xargs rpm -qf |
grep 'is not owned' | wc -l
0




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