Bug#352875: file-roller: Tries to guess format from file name

Sven Arvidsson sa at whiz.se
Sat Jan 20 22:49:13 CET 2007


> Using file-roller on an archive called foo.tar-1.bz2 only shows
> foo.tar-1 as the contents, not the actual contents of the archive.  If I
> try to open that foo.tar-1 directly (after bunzipping it), then
> file-roller tells me that the archive type is not supported.  Just
> renaming the file fixes the problem.
> 
> I suppose the bug is that file-roller trusts the file name rather than
> the actual contents (or their magic numbers).

Hi,

The last part, foo.tar-1 seems to work fine now. This file is identified 
and opened by file-roller as a tar archive.

As for .tar-1.bz2 I'm not sure what can be done. Magic numbers can be hard to
do anything with as the file is identified as a bz2 compressed file either way.

$ file fb.*
fb.tar-1.bz2: bzip2 compressed data, block size = 600k
fb.tar.bz2:   bzip2 compressed data, block size = 600k

Can I mark this bug as done, or do you want to keep it open. (If it remains 
open, I will forward it upstream.)

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070120/ffc5daf4/attachment-0001.pgp


More information about the Pkg-gnome-maintainers mailing list