Bug 678401 - Should use MIME-TYPE to determine file type
Summary: Should use MIME-TYPE to determine file type
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: file-roller
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-17 20:05 UTC by Renich Bon Ciric
Modified: 2012-08-16 14:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1443879 (view as bug list)
Environment:
Last Closed: 2012-08-16 14:22:47 UTC
Type: ---


Attachments (Terms of Use)

Description Renich Bon Ciric 2011-02-17 20:05:38 UTC
Description of problem:
file-roller doesn't check for MIME-TYPES. If you change the extension of foo.tar.gz to foo.tar.bz2, file-roller will fail to determine the type correctly.

Version-Release number of selected component (if applicable):
-2.32.0-2

How reproducible:
change the extension of a know compressed file.

Steps to Reproduce:
1. Get a tar.gzip file
2. Change the extension to tar.bz2
3. Try to decompress using file roller
  
Actual results:
it fails:

bzip2: (stdin) is not a bzip2 file.
/bin/gtar: Child returned status 2
/bin/gtar: Error is not recoverable: exiting now

Expected results:
It should, correctly, determine the file's type using MIME-TYPE and uncompress the file; regardless of it's extension... this is the *nix way

Additional info:
http://developer.gnome.org/doc/whitepapers/SystemConfig/mime-info.html

Comment 1 Fedora End Of Life 2012-08-16 14:22:49 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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