Bug 500739 - Disorganized magic* file locations in file-libs
Summary: Disorganized magic* file locations in file-libs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Novotny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-13 21:08 UTC by Bruce Jerrick
Modified: 2009-05-14 10:24 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-14 10:24:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bruce Jerrick 2009-05-13 21:08:24 UTC
Description of problem:

In file-libs-5.03-1.fc11, the locations of 'magic' and 'magic.mgc' are rather
  disorganized.  The canonical location was changed to /usr/share/misc/
  (according to 'man 1 file' and 'man 5 magic'), but the plain file 'magic' 
  remains in /usr/share/file/, with a symlink from /usr/share/misc/ .  That 
  should be the other way around, like 'magic.mgc'.  And the symlink 
  /usr/share/magic should point to misc/magic, not file/magic .

Version-Release number of selected component (if applicable):
(See above. This lousy interface keeps screwing up paste locations.)

How reproducible:
100%

Steps to Reproduce:
(Sorry about the formatting deficiencies; this is the World's Worst
 Interface.)
Repeat by observation:
    man 1 file | col -b | grep -A 2 ^FILES      # the definitive word
    ls -l /usr/share/{file/,misc/,}magic*       # current reality,
                                                #  rather disorganized
Actual results:
(Run the commands above and observe which are plain files and which
are symlinks.  Trying to get that entered here is too painful.)

Expected results:
They should be organized as:
    /usr/share/misc/magic               # plain file
    /usr/share/misc/magic.mgc           # plain file
with whatever symlinks needed for compatibility pointing to those.


Additional info:

Comment 1 Daniel Novotny 2009-05-14 08:26:01 UTC
hello,
because the recent file updates (5.02 and 5.03) contained somewhat important security fixes, I was very quick in upgrading the package. Therefore this sort of provisional arrangement occured... I'll look into it.

Comment 2 Daniel Novotny 2009-05-14 10:24:15 UTC
fixed in file-5.03-2.fc12


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